ci: added github actions workflow to mark stale PRs & issues #397
Workflow file for this run
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
name: Update publish-alpha | |
on: | |
pull_request: | |
types: [closed] | |
branches: | |
- dev | |
jobs: | |
pull-request: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: pull-request | |
uses: repo-sync/pull-request@v2 | |
if: github.event.pull_request.merged == true | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
source_branch: 'dev' | |
destination_branch: 'publish-alpha' | |
pr_title: 'Update publish-alpha' | |
pr_body: ':robot: Automated PR from dev to publish-alpha' | |
pr_label: 'auto-pr' |