Skip to content

Commit bddba45

Browse files
committed
test: updater workflow outputs
1 parent efbde01 commit bddba45

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/workflow-tests.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,21 @@ jobs:
2424
_workflow_version: ${{ github.sha }}
2525
secrets:
2626
api_token: ${{ github.token }}
27+
28+
test-outputs:
29+
runs-on: ubuntu-latest
30+
needs:
31+
- create-pr
32+
- test-args
33+
steps:
34+
- run: "[[ '${{ needs.create-pr.outputs.baseBranch }}' == 'main' ]]"
35+
- run: "[[ '${{ needs.create-pr.outputs.originalTag }}' == '2.0.0' ]]"
36+
- run: "[[ '${{ needs.create-pr.outputs.latestTag }}' =~ ^[0-9.]+$ ]]"
37+
- run: "[[ '${{ needs.create-pr.outputs.prUrl }}' =~ ^https://github.com/getsentry/github-workflows/pull/[0-9]+$ ]]"
38+
- run: "[[ '${{ needs.create-pr.outputs.prBranch }}' == 'deps/tests/sentry-cli.properties/${{ needs.create-pr.outputs.latestTag }}' ]]"
39+
40+
- run: "[[ '${{ needs.test-args.outputs.baseBranch }}' == '' ]]"
41+
- run: "[[ '${{ needs.test-args.outputs.originalTag }}' == 'v1' ]]"
42+
- run: "[[ '${{ needs.test-args.outputs.latestTag }}' == 'v1' ]]"
43+
- run: "[[ '${{ needs.test-args.outputs.prUrl }}' == '' ]]"
44+
- run: "[[ '${{ needs.test-args.outputs.prBranch }}' == '' ]]"

0 commit comments

Comments
 (0)