mirror of
https://github.com/docker/setup-compose-action.git
synced 2026-02-01 12:54:58 +01:00
36 lines
874 B
YAML
36 lines
874 B
YAML
name: update-dist
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
|
|
jobs:
|
|
prepare:
|
|
if: github.actor == 'dependabot[bot]'
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
token: ${{ steps.docker-read-app.outputs.token }}
|
|
steps:
|
|
-
|
|
name: GitHub auth token from GitHub App
|
|
id: docker-read-app
|
|
uses: actions/create-github-app-token@v2
|
|
with:
|
|
app-id: ${{ secrets.GHACTIONS_REPO_WRITE_APP_ID }}
|
|
private-key: ${{ secrets.GHACTIONS_REPO_WRITE_APP_PRIVATE_KEY }}
|
|
owner: docker
|
|
|
|
update-dist:
|
|
if: github.actor == 'dependabot[bot]'
|
|
uses: docker/actions-toolkit/.github/workflows/action-dist-update.yml@action-dist-update
|
|
needs:
|
|
- prepare
|
|
permissions:
|
|
contents: write
|
|
with:
|
|
target: build
|
|
secrets:
|
|
github-token: ${{ needs.prepare.outputs.token }}
|