Skip to content

Commit d6425f7

Browse files
authored
Merge pull request #18 from WtfJoke/avoidUnnecessaryCheckoutActionCode
Use action without additional checkout
2 parents 19a35ad + 588d308 commit d6425f7

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ This action requests a JWT and prints the claims included within the JWT receive
44

55
## How to use this Action
66

7-
To use this Action in another repository, you must checkout this Action repo and then run it.
8-
Here's an example of how that is done:
7+
Here's an example of how to use that action:
98

109
```yaml
1110

@@ -19,15 +18,8 @@ jobs:
1918
runs-on: ubuntu-latest
2019
name: A test of the oidc debugger
2120
steps:
22-
- name: Checkout actions-oidc-debugger
23-
uses: actions/checkout@v3
24-
with:
25-
repository: github/actions-oidc-debugger
26-
ref: main
27-
token: ${{ secrets.your-checkout-token }}
28-
path: ./.github/actions/actions-oidc-debugger
2921
- name: Debug OIDC Claims
30-
uses: ./.github/actions/actions-oidc-debugger
22+
uses: github/actions-oidc-debugger@main
3123
with:
3224
audience: '${{ github.server_url }}/${{ github.repository_owner }}'
3325
```

0 commit comments

Comments
 (0)