1
0
mirror of synced 2026-01-03 15:05:54 -05:00
Files
docs/.github/workflows/autoupdate-branch.yml
James M. Greene fb0f3846b6 Fix a few simple workflow lint errors (#17298)
* Use 'ubuntu-latest' instead of 'ubuntu-18.04' for longevity
* Update 'branches' configurations to be sequences as expected
2021-01-15 14:01:17 +00:00

18 lines
542 B
YAML

name: autoupdate branch
on:
push:
branches:
- main
jobs:
autoupdate:
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
name: autoupdate
runs-on: ubuntu-latest
steps:
- uses: docker://chinthakagodawita/autoupdate-action:v1
env:
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
PR_FILTER: labelled
PR_LABELS: autoupdate
MERGE_MSG: "Branch was updated using the 'autoupdate branch' Actions workflow."