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 rebases the PR branch onto the target branch. | |
# Like autoupdate.yml, but with rebasing instead of merging. | |
# Is triggered on a PR if labeled `autorebase:opt-in`. | |
name: autorebase | |
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: | |
auto-rebase: | |
name: AutoRebase | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Label305/[email protected] | |
with: | |
# We can't use the built-in secrets.GITHUB_TOKEN yet because of this limitation: | |
# https://github.community/t5/GitHub-Actions/Triggering-a-new-workflow-from-another-workflow/td-p/31676 | |
# In the meantime, use a token granting write access on the repo: | |
# - a GitHub App token | |
# See https://github.com/marketplace/actions/github-app-token. | |
# - a personal access token | |
# See https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line. | |
github_token: ${{ secrets.HRA_GITHUB_TOKEN }} |