Create a metadata / Add dynamic and download privileges to the users in the same group #68
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: ♻ Backport | |
on: | |
pull_request_target: | |
types: | |
- closed | |
- labeled | |
permissions: | |
contents: read | |
jobs: | |
backport: | |
permissions: | |
contents: write | |
pull-requests: write | |
issues: write | |
runs-on: ubuntu-20.04 | |
name: Backport | |
steps: | |
- name: Backport Bot | |
id: backport | |
if: github.event.pull_request.merged && ( ( github.event.action == 'closed' && contains( join( github.event.pull_request.labels.*.name ), 'backport') ) || contains( github.event.label.name, 'backport' ) ) | |
uses: m-kuhn/[email protected] | |
with: | |
github_token: ${{ secrets.GH_TOKEN_BOT }} |