File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,12 +29,22 @@ jobs:
2929 fetch-depth : 0
3030 ref : ${{ github.ref_name }}
3131
32- - name : Configure git user
32+ - name : Configure Git user
3333 run : |
34- git config --global user.email "noreply@snyk.io"
34+ git config --global user.name "Team CLI Bot"
35+ git config --global user.email "team-cli@snyk.io"
3536
36- # GITHUB_ACTOR: The name of the person or app that initiated the workflow.
37- git config --global user.name "$GITHUB_ACTOR"
37+ - name : Import and configure GPG
38+ run : |
39+ echo "$GPG_KEY" | gpg --batch --import
40+ gpg --pinentry-mode loopback --passphrase "$GPG_PASSPHRASE" --batch --sign
41+ env :
42+ GPG_KEY : ${{ secrets.TEAM_CLI_BOT_GPG_KEY }}
43+ GPG_PASSPHRASE : ${{ secrets.TEAM_CLI_BOT_GPG_PASSPHRASE }}
44+
45+ - name : TODO
46+ run : |
47+ # TODO
3848
3949 - name : Create or checkout destination branch
4050 run : |
Original file line number Diff line number Diff line change @@ -29,12 +29,18 @@ jobs:
2929 fetch-depth : 0
3030 ref : main
3131
32- - name : Configure git user
32+ - name : Configure Git user
3333 run : |
34- git config --global user.email "noreply@snyk.io"
34+ git config --global user.name "Team CLI Bot"
35+ git config --global user.email "team-cli@snyk.io"
3536
36- # GITHUB_ACTOR: The name of the person or app that initiated the workflow.
37- git config --global user.name "$GITHUB_ACTOR"
37+ - name : Import and configure GPG
38+ run : |
39+ echo "$GPG_KEY" | gpg --batch --import
40+ gpg --pinentry-mode loopback --passphrase "$GPG_PASSPHRASE" --batch --sign
41+ env :
42+ GPG_KEY : ${{ secrets.TEAM_CLI_BOT_GPG_KEY }}
43+ GPG_PASSPHRASE : ${{ secrets.TEAM_CLI_BOT_GPG_PASSPHRASE }}
3844
3945 - name : Create or checkout destination branch
4046 run : |
You can’t perform that action at this time.
0 commit comments