File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : update-dist
2+
3+ on :
4+ pull_request :
5+ types :
6+ - opened
7+ - synchronize
8+
9+ jobs :
10+ prepare :
11+ if : github.actor == 'dependabot[bot]'
12+ runs-on : ubuntu-latest
13+ outputs :
14+ token : ${{ steps.docker-read-app.outputs.token }}
15+ steps :
16+ -
17+ name : GitHub auth token from GitHub App
18+ id : docker-read-app
19+ uses : actions/create-github-app-token@v2
20+ with :
21+ app-id : ${{ secrets.GHACTIONS_REPO_WRITE_APP_ID }}
22+ private-key : ${{ secrets.GHACTIONS_REPO_WRITE_APP_PRIVATE_KEY }}
23+ owner : docker
24+
25+ update-dist :
26+ if : github.actor == 'dependabot[bot]'
27+ uses : docker/actions-toolkit/.github/workflows/action-dist-update.yml@action-dist-update
28+ needs :
29+ - prepare
30+ permissions :
31+ contents : write
32+ with :
33+ target : build
34+ secrets :
35+ github-token : ${{ needs.prepare.outputs.token }}
You can’t perform that action at this time.
0 commit comments