8000 Bug fix of doctest generation by tclose · Pull Request #17 · nipype/nipype2pydra · GitHub
[go: up one dir, main page]

Skip to content

Bug fix of doctest generation #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
post release trigger unified PAT
  • Loading branch information
tclose committed Mar 26, 2024
commit 7950fa095c368c3be4cb5f180b7e850998414454
28 changes: 7 additions & 21 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,31 +122,17 @@ jobs:
matrix:
repo:
- afni
- ants
- fsl
- freesurfer
env:
SECRET: ""
# - ants
# - fsl
# - freesurfer
# - mriqc
steps:
- name: Get secret for corresponding repo
id: get_secret
run: |
if [ "${{ matrix.repo }}" == "afni" ]; then
SECRET="${{ secrets.AFNI_PAT }}"
elif [ "${{ matrix.repo }}" == "ants" ]; then
SECRET="${{ secrets.ANTS_PAT }}"
elif [ "${{ matrix.repo }}" == "fsl" ]; then
SECRET="${{ secrets.FSL_PAT }}"
elif [ "${{ matrix.repo }}" == "freesurfer" ]; then
SECRET="${{ secrets.FREESURFER_PAT }}"
fi
echo "SECRET=$SECRET" >> $GITHUB_ENV

- name: Trigger post-release on downstream repos
if: github.event_name == 'release' && env.SECRET
if: github.event_name == 'release'
run: |
curl -XPOST -u "${{ env.SECRET }}" -H "Accept: application/vnd.github.everest-preview+json" \
curl -XPOST -u "${{ env.POST_RELEASE_PAT }}" -H "Accept: application/vnd.github.everest-preview+json" \
"https://api.github.com/repos/nipype/pydra-${{ matrix.repo }}/dispatches" \
-d '{"event_type": "create-post-release"}'
env:
PAT: ${{ env.SECRET }}
PAT: ${{ env.POST_RELEASE_PAT }}
0