Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Jan 10, 2025
1 parent c185dc3 commit 637936f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/backports.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: mergeit-backport
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
types:
- labeled
branches:
- main
jobs:
labeling:
permissions:
pull-requests: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fetch changelog types
run: |
gh pr -R tremble/amazon.aws diff 11 --name-only | \
grep -E '^changelogs/fragments/' | \
while read -r line
do cat "${line}" | python -c 'import sys, yaml; change = yaml.safe_load(sys.stdin.read()) ; print("\n".join(change.keys()));' 2>/dev/null
done

0 comments on commit 637936f

Please sign in to comment.