File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,20 +19,19 @@ jobs:
1919 runs-on : ubuntu-latest
2020 timeout-minutes : 20
2121 steps :
22- # TODO: Uncomment before merging this
23- # - name: Require main branch
24- # run: |
25- # if [ "${{ github.ref_name }}" != "main" ]; then
26- # {
27- # echo "## Prepare JS release"
28- # echo
29- # echo "This workflow must be run from \`main\`. Selected ref: \`${{ github.ref_name }}\`."
30- # } >> "$GITHUB_STEP_SUMMARY"
31- # exit 1
32- # fi
33- # - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
34- # with:
35- # fetch-depth: 0
22+ - name : Require main branch
23+ run : |
24+ if [ "${{ github.ref_name }}" != "main" ]; then
25+ {
26+ echo "## Prepare JS release"
27+ echo
28+ echo "This workflow must be run from \`main\`. Selected ref: \`${{ github.ref_name }}\`."
29+ } >> "$GITHUB_STEP_SUMMARY"
30+ exit 1
31+ fi
32+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
33+ with :
34+ fetch-depth : 0
3635 - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
3736 - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3837 with :
You can’t perform that action at this time.
0 commit comments