File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ permissions:
1111
1212jobs :
1313 get-changed-metadata :
14+ if : ${{ github.repository == 'oracle/graalvm-reachability-metadata' }}
1415 name : " 📋 Get a list of changed metadata"
1516 runs-on : " ubuntu-22.04"
1617 timeout-minutes : 5
3536
3637 release :
3738 needs : get-changed-metadata
38- if : needs.get-changed-metadata.result == 'success' && needs.get-changed-metadata.outputs.none-found != 'true'
39+ if : ${{ ( needs.get-changed-metadata.result == 'success' && needs.get-changed-metadata.outputs.none-found != 'true') && (github.event_name != 'schedule' || github.repository == 'oracle/graalvm-reachability-metadata') }}
3940 name : " 🚀 Create a release"
4041 runs-on : " ubuntu-22.04"
4142 env :
Original file line number Diff line number Diff line change 1111
1212jobs :
1313 scan-images :
14+ if : ${{ github.event_name != 'schedule' || github.repository == 'oracle/graalvm-reachability-metadata' }}
1415 name : " 🔎 Scan docker images"
1516 runs-on : " ubuntu-22.04"
1617 steps :
3132 if : github.event_name == 'pull_request'
3233 run : ./gradlew checkAllowedDockerImages --baseCommit=${{ github.event.pull_request.base.sha }} --newCommit=${{ github.event.pull_request.head.sha }}
3334 - name : " 🔎 Check all docker images"
34- if : github.event_name != 'pull_request' && github.repository == 'oracle/graalvm-reachability-metadata'
35+ if : github.event_name != 'pull_request'
3536 run : ./gradlew checkAllowedDockerImages
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ concurrency:
1515
1616jobs :
1717 get-all-libraries :
18+ if : ${{ github.event_name != 'schedule' || github.repository == 'oracle/graalvm-reachability-metadata' }}
1819 name : " 📋 Get list of all supported libraries with newer versions"
1920 runs-on : ubuntu-22.04
2021 timeout-minutes : 5
5253 git push origin "${{ steps.set-branch-name.outputs.branch }}"
5354
5455 test-all-metadata :
56+ if : ${{ github.event_name != 'schedule' || github.repository == 'oracle/graalvm-reachability-metadata' }}
5557 name : " 🧪 ${{ matrix.item.name }}"
5658 runs-on : ubuntu-22.04
5759 needs : get-all-libraries
@@ -254,7 +256,7 @@ jobs:
254256 permissions : write-all
255257 env :
256258 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
257- if : ${{ always() }}
259+ if : ${{ always() && (github.event_name != 'schedule' || github.repository == 'oracle/graalvm-reachability-metadata') }}
258260 needs :
259261 - get-all-libraries
260262 - test-all-metadata
You can’t perform that action at this time.
0 commit comments