From 3d328b82ee174d88c855d70cc386cadbd53404c2 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Fri, 26 Aug 2022 16:12:29 -0700 Subject: [PATCH] .github/actions: add signoff to go-licenses commits also set git committer, which is apparently what this action uses for signoff rather than git author. Remove branch-suffix, which isn't proving useful, and add installation_id, which isn't technically necessary in the tailscale/tailscale repo, but makes this consistent with the workflows in other repos. Signed-off-by: Will Norris --- .github/workflows/go-licenses.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go-licenses.yml b/.github/workflows/go-licenses.yml index 0a7c0efe8..5d434f90a 100644 --- a/.github/workflows/go-licenses.yml +++ b/.github/workflows/go-licenses.yml @@ -46,6 +46,7 @@ jobs: id: generate-token with: app_id: ${{ secrets.LICENSING_APP_ID }} + installation_id: ${{ secrets.LICENSING_APP_INSTALLATION_ID }} private_key: ${{ secrets.LICENSING_APP_PRIVATE_KEY }} - name: Send pull request @@ -53,10 +54,11 @@ jobs: with: token: ${{ steps.generate-token.outputs.token }} author: License Updater + committer: License Updater branch: licenses/cli - branch-suffix: short-commit-hash commit-message: "licenses: update tailscale{,d} licenses" title: "licenses: update tailscale{,d} licenses" body: Triggered by ${{ github.repository }}@${{ github.sha }} + signoff: true delete-branch: true team-reviewers: opensource-license-reviewers