File tree Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Original file line number Diff line number Diff line change @@ -122,31 +122,17 @@ jobs:
122
122
matrix :
123
123
repo :
124
124
- afni
125
- - ants
126
- - fsl
127
- - freesurfer
128
- env :
129
- SECRET : " "
125
+ # - ants
126
+ # - fsl
127
+ # - freesurfer
128
+ # - mriqc
130
129
steps :
131
- - name : Get secret for corresponding repo
132
- id : get_secret
133
- run : |
134
- if [ "${{ matrix.repo }}" == "afni" ]; then
135
- SECRET="${{ secrets.AFNI_PAT }}"
136
- elif [ "${{ matrix.repo }}" == "ants" ]; then
137
- SECRET="${{ secrets.ANTS_PAT }}"
138
- elif [ "${{ matrix.repo }}" == "fsl" ]; then
139
- SECRET="${{ secrets.FSL_PAT }}"
140
- elif [ "${{ matrix.repo }}" == "freesurfer" ]; then
141
- SECRET="${{ secrets.FREESURFER_PAT }}"
142
- fi
143
- echo "SECRET=$SECRET" >> $GITHUB_ENV
144
130
145
131
- name : Trigger post-release on downstream repos
146
- if : github.event_name == 'release' && env.SECRET
132
+ if : github.event_name == 'release'
147
133
run : |
148
- curl -XPOST -u "${{ env.SECRET }}" -H "Accept: application/vnd.github.everest-preview+json" \
134
+ curl -XPOST -u "${{ env.POST_RELEASE_PAT }}" -H "Accept: application/vnd.github.everest-preview+json" \
149
135
"https://api.github.com/repos/nipype/pydra-${{ matrix.repo }}/dispatches" \
150
136
-d '{"event_type": "create-post-release"}'
151
137
env :
152
- PAT : ${{ env.SECRET }}
138
+ PAT : ${{ env.POST_RELEASE_PAT }}
You can’t perform that action at this time.
0 commit comments