Skip to content

Optional secret for Assignable CapAccess #5219

Optional secret for Assignable CapAccess

Optional secret for Assignable CapAccess #5219

Workflow file for this run

# 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/AutoRebase@v0.1
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 }}