File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 77 paths :
88 - " migrations-semver/*.sql"
99
10+ env :
11+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # set GITHUB_TOKEN because the 'Check release' step needs it to comment the pull request with check results.
12+ BYTEBASE_URL : https://demo.bytebase.com
13+ BYTEBASE_SERVICE_ACCOUNT : api@service.bytebase.com
14+ BYTEBASE_SERVICE_ACCOUNT_SECRET : ${{ secrets.BYTEBASE_SERVICE_ACCOUNT_SECRET }}
15+ BYTEBASE_PROJECT : " projects/hr"
16+ BYTEBASE_TARGETS : " instances/prod-sample-instance/databases/hr_prod"
17+ FILE_PATTERN : " migrations-semver/*.sql"
18+
1019jobs :
1120 check-release-on-prod :
1221 permissions :
1827 - name : Checkout
1928 uses : actions/checkout@v4
2029 - name : Check release
21- env :
22- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # set GITHUB_TOKEN because the 'Check release' step needs it to comment the pull request with check results.
23- BYTEBASE_URL : https://demo.bytebase.com
24- BYTEBASE_SERVICE_ACCOUNT : api@service.bytebase.com
25- BYTEBASE_PROJECT : " projects/hr"
26- BYTEBASE_TARGETS : " instances/prod-sample-instance/databases/hr_prod"
27- FILE_PATTERN : " migrations-semver/*.sql"
2830 run : |
2931 bytebase-action check --url=${{ env.BYTEBASE_URL }} --service-account=${{ env.BYTEBASE_SERVICE_ACCOUNT }} --service-account-secret=${{ secrets.BYTEBASE_SERVICE_ACCOUNT_SECRET }} --project=${{ env.BYTEBASE_PROJECT }} --targets=${{ env.BYTEBASE_TARGETS }} --file-pattern=${{ env.FILE_PATTERN }}
You can’t perform that action at this time.
0 commit comments