update source 'crates-io' on branch 'develop' (#4591) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Operates on open PRs and automatically merges updates on the target branch into the PR branch. | |
# Like autorebase.yml, but with merging instead of rebasing. | |
# Is triggered on a PR if labeled `autoupdate:opt-in`. | |
name: autoupdate | |
on: | |
# Run on every push on develop | |
push: | |
branches: | |
- "develop" | |
# Run when pull requests get labeled | |
pull_request: | |
types: [labeled, opened, ready_for_review, reopened] | |
branches: | |
- "develop" | |
jobs: | |
autoupdate: | |
name: autoupdate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: docker://chinthakagodawita/autoupdate-action:v1 | |
env: | |
GITHUB_TOKEN: "${{ secrets.HRA_GITHUB_TOKEN }}" | |
PR_FILTER: "labelled" | |
PR_LABELS: "autoupdate:opt-in" | |
MERGE_CONFLICT_ACTION: "fail" | |
MERGE_MSG: "Branch was auto-updated." |