You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+39-40
Original file line number
Diff line number
Diff line change
@@ -28,46 +28,45 @@ In this case, a [GitHub App](https://docs.github.com/en/developers/apps/getting-
28
28
3. Add your GitHub App's "App ID" to your repo's [Actions Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets)_(ex: `GH_APP_ID`)_
29
29
4. Add your Private Key to your repo's [Actions Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets)_(ex: `GH_APP_PRIVATE_KEY`)_
30
30
5. Use [navikt/github-app-token-generator](https://github.com/navikt/github-app-token-generator) before using this action to generate a JWT
31
-
32
-
#### Example
33
-
34
-
`cleanup-pr.yml`
35
-
36
-
```
37
-
#
38
-
# Cleans up a GitHub PR
39
-
#
40
-
name: 🧼 Clean up environment
41
-
on:
42
-
pull_request:
43
-
types:
44
-
- closed
45
-
46
-
jobs:
47
-
cleanup:
48
-
runs-on: ubuntu-latest
49
-
permissions: write-all
50
-
51
-
steps:
52
-
- uses: actions/checkout@v3
53
-
54
-
# Points to a recent commit instead of `main` to avoid supply chain attacks. (The latest tag is very old.)
0 commit comments