Skip to content

Commit b31e096

Browse files
committed
WIP
1 parent fa482e5 commit b31e096

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,14 @@ jobs:
103103
release:
104104
needs: release_check
105105

106+
# if: |
107+
# needs.release_check.outputs.run_publish == 'true' &&
108+
# github.repository == 'ruby/json' &&
109+
# github.ref_name == github.event.repository.default_branch
110+
106111
if: |
107112
needs.release_check.outputs.run_publish == 'true'
108-
109-
# &&
110-
# github.repository == 'ruby/json' &&
111-
# github.ref_name == 'try-auto-release'
112-
# github.event.repository.default_branch
113+
113114
runs-on: ubuntu-latest
114115

115116
environment:
@@ -128,7 +129,8 @@ jobs:
128129
- name: github.repository
129130
run: echo ${{github.repository}}
130131
- name: github.ref_name
131-
run: echo ${{github.ref_name}}
132+
run: echo "${{github.ref_name}} | default_branch = ${{ github.event.repository.default_branch }}"
133+
132134
- name: Harden Runner
133135
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
134136
with:

0 commit comments

Comments
 (0)