We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81bf828 commit 0599c2fCopy full SHA for 0599c2f
.github/workflows/update-deps.yml
@@ -3,14 +3,24 @@ name: update-deps
3
on:
4
schedule:
5
- cron: "0 10 * * *" # Run at 10 am every day
6
+ workflow_dispatch:
7
8
jobs:
9
check:
10
runs-on: ubuntu-latest
11
+ environment:
12
+ name: protected-main-env
13
steps:
14
+ - name: Generate token
15
+ id: generate_token
16
+ uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
17
+ with:
18
+ app-id: ${{ secrets.GH_APP_ID }}
19
+ private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
20
+
21
- uses: actions/checkout@v2
22
with:
- ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
23
+ token: ${{ steps.generate_token.outputs.token }}
24
25
- uses: actions/setup-node@v3
26
0 commit comments