Skip to content

Commit

Permalink
Create reusable2.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsimon committed Sep 22, 2022
1 parent 4f13159 commit 0e7bc74
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/reusable2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Reusable 2
on:
workflow_call:

permissions: read-all

jobs:
args:
permissions:
token-id: write
runs-on: ubuntu-latest
steps:
- name: oidc
run: |
JWT=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=testaudience")
echo "JWT reusable 2:"
echo "$JWT"

0 comments on commit 0e7bc74

Please sign in to comment.