Skip to content

Commit

Permalink
Update links
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Jan 3, 2025
1 parent 7cb4663 commit e441ac5
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,7 @@ jobs:
timeout-minutes: 2
steps:
- name: Check links
uses: UCL-MIRSG/.github/actions/links@feed2f417cdc1508d1a9eb3cb6e99c84f2a4b154 # v0
uses: UCL-MIRSG/.github/actions/links@a7534b4183ae58f24714fe8633c4433365131257 # v0
with:
app-id: ${{ secrets.LINK_APP_ID }}
app-pem: ${{ secrets.LINK_APP_PEM }}

- name: Generate token
if: always()
id: generate-token
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
with:
app-id: ${{ secrets.LINK_APP_ID }}
private-key: ${{ secrets.LINK_APP_PEM }}

- name: Test access
if: always()
run: |-
curl -H "Authorization: Bearer ${{ steps.generate-token.outputs.token }}" \
https://api.github.com/repos/UCL-MIRSG/UCLMedicalImagingEnv/contents/environments/cs-production/xnat/group_vars/ucl_test
app-id: ${{ vars.LINKS_APP_ID }}
app-pem: ${{ secrets.LINKS_PRIVATE_KEY }}

0 comments on commit e441ac5

Please sign in to comment.