File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed
generate_workflows_lib/src/generate_workflows_lib Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1313 # Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
1414 # For PRs you can change the inner fallback ('main')
1515 # For pushes you change the outer fallback ('main')
16- CORE_REPO_SHA: $ {% raw %} ${{ github.event_name == 'pull_request' && (
16+ CORE_REPO_SHA: {% raw %} ${{ github.event_name == 'pull_request' && (
1717 contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
1818 contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
1919 'main'
Original file line number Diff line number Diff line change 1010 pull_request:
1111
1212env:
13- # Set the SHA to the branch name if the PR has a label 'release' or 'backport ' otherwise, set it to 'main'
13+ # Set the SHA to the branch name if the PR has a label 'release' or 'patch-release ' otherwise, set it to 'main'
1414 # For PRs you can change the inner fallback ('main')
1515 # For pushes you change the outer fallback ('main')
16- CORE_REPO_SHA: $ {% raw %} ${{ github.event_name == 'pull_request' && (
16+ CORE_REPO_SHA: {% raw %} ${{ github.event_name == 'pull_request' && (
1717 contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
18- contains(github.event.pull_request.labels.*.name, 'backport ') && github.event.pull_request.base.ref ||
18+ contains(github.event.pull_request.labels.*.name, 'patch-release ') && github.event.pull_request.base.ref ||
1919 'main'
2020 ) || 'main' }}{% endraw %}
2121 CONTRIB_REPO_SHA: main
Original file line number Diff line number Diff line change 1313 # Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
1414 # For PRs you can change the inner fallback ('main')
1515 # For pushes you change the outer fallback ('main')
16- CORE_REPO_SHA: $ {% raw %} ${{ github.event_name == 'pull_request' && (
16+ CORE_REPO_SHA: {% raw %} ${{ github.event_name == 'pull_request' && (
1717 contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
1818 contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
1919 'main'
Original file line number Diff line number Diff line change 1313 # Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
1414 # For PRs you can change the inner fallback ('main')
1515 # For pushes you change the outer fallback ('main')
16- CORE_REPO_SHA : $$ {{ github.event_name == 'pull_request' && (
16+ CORE_REPO_SHA : ${{ github.event_name == 'pull_request' && (
1717 contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
1818 contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
1919 ' main'
Original file line number Diff line number Diff line change 1010 pull_request :
1111
1212env :
13- # Set the SHA to the branch name if the PR has a label 'release' or 'backport ' otherwise, set it to 'main'
13+ # Set the SHA to the branch name if the PR has a label 'release' or 'patch-release ' otherwise, set it to 'main'
1414 # For PRs you can change the inner fallback ('main')
1515 # For pushes you change the outer fallback ('main')
16- CORE_REPO_SHA : $$ {{ github.event_name == 'pull_request' && (
16+ CORE_REPO_SHA : ${{ github.event_name == 'pull_request' && (
1717 contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
18- contains(github.event.pull_request.labels.*.name, 'backport ') && github.event.pull_request.base.ref ||
18+ contains(github.event.pull_request.labels.*.name, 'patch-release ') && github.event.pull_request.base.ref ||
1919 ' main'
2020 ) || 'main' }}
2121 CONTRIB_REPO_SHA : main
Original file line number Diff line number Diff line change 1313 # Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
1414 # For PRs you can change the inner fallback ('main')
1515 # For pushes you change the outer fallback ('main')
16- CORE_REPO_SHA : $$ {{ github.event_name == 'pull_request' && (
16+ CORE_REPO_SHA : ${{ github.event_name == 'pull_request' && (
1717 contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
1818 contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
1919 ' main'
Original file line number Diff line number Diff line change 1313 # Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
1414 # For PRs you can change the inner fallback ('main')
1515 # For pushes you change the outer fallback ('main')
16- CORE_REPO_SHA : $$ {{ github.event_name == 'pull_request' && (
16+ CORE_REPO_SHA : ${{ github.event_name == 'pull_request' && (
1717 contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
1818 contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
1919 ' main'
Original file line number Diff line number Diff line change 1313 # Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
1414 # For PRs you can change the inner fallback ('main')
1515 # For pushes you change the outer fallback ('main')
16- CORE_REPO_SHA : $$ {{ github.event_name == 'pull_request' && (
16+ CORE_REPO_SHA : ${{ github.event_name == 'pull_request' && (
1717 contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
1818 contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
1919 ' main'
You can’t perform that action at this time.
0 commit comments