File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Test signing"
2+
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ test :
8+ runs-on : ubuntu-latest
9+ environment : Automation
10+
11+ steps :
12+ - name : Dump environment
13+ run : env
14+
15+ - name : Dump GitHub context
16+ env :
17+ GITHUB_CONTEXT : ' ${{ toJson(github) }}'
18+ run : echo "${GITHUB_CONTEXT}"
19+
20+ - name : Generate token
21+ 22+ id : app-token
23+ with :
24+ app-id : ${{ vars.AUTOMATION_APP_ID }}
25+ private-key : ${{ secrets.AUTOMATION_PRIVATE_KEY }}
26+
27+ - uses : actions/checkout@v5
28+ with :
29+ token : ${{ steps.app-token.outputs.token }}
30+ fetch-depth : 0 # ensure we have all tags and can push commits
31+
32+ - name : Test signing
33+ shell : bash
34+ run : |
35+ git tag -s --annotate "vTEST" --message "vTEST"
36+ echo "test" > .test
37+ git add .test
38+ git commit -s -m 'Test commit'
You can’t perform that action at this time.
0 commit comments