File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -2,22 +2,24 @@ name: Nightly Publish
22
33on :
44 schedule :
5- - cron : ' 0 0 * * *'
5+ - cron : " 0 0 * * *"
66 workflow_dispatch :
77
88jobs :
99 tests :
10+ if : github.repository_owner == 'openwallet-foundation' || github.event_name == 'workflow_dispatch'
1011 runs-on : ubuntu-latest
1112 strategy :
1213 fail-fast : false
1314 matrix :
1415 os : ["ubuntu-latest"]
1516 python-version : ["3.12"]
16- if : github.repository == 'openwallet-foundation/acapy' || github.event_name == 'workflow_dispatch'
17+
1718 steps :
18- - name : checkout
19+ - name : Checkout
1920 uses : actions/checkout@v4
20- - name : Tests
21+
22+ - name : Run Tests
2123 uses : ./.github/actions/run-unit-tests
2224 with :
2325 python-version : ${{ matrix.python-version }}
@@ -30,13 +32,16 @@ jobs:
3032 outputs :
3133 commits_today : ${{ steps.commits.outputs.commits_today }}
3234 date : ${{ steps.date.outputs.date }}
35+ if : github.repository_owner == 'openwallet-foundation' || github.event_name == 'workflow_dispatch'
3336 steps :
3437 - uses : actions/checkout@v4
35- - name : print latest_commit
38+ - name : Print Latest Commit
3639 run : echo ${{ github.sha }}
37- - name : Get new commits
40+
41+ - name : Get New Commits
3842 id : commits
3943 run : echo "commits_today=$(git log --oneline --since '24 hours ago' | wc -l)" >> $GITHUB_OUTPUT
44+
4045 - name : Get Date
4146 id : date
4247 run : echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments