Skip to content

Commit

Permalink
Create a separate Privacy issue when the review of a charter is reque…
Browse files Browse the repository at this point in the history
…sted
  • Loading branch information
plehegar committed Jan 29, 2025
1 parent 6fcf174 commit 8bd7c3b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/charter-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Create Cross-Repo Issue on Horizontal Label

on:
issues:
types: [labeled]

jobs:
create-issue:
if: github.event.label.name == 'Horizontal review requested'
runs-on: ubuntu-latest

permissions:
issues: write # Still needed to read source issue

steps:
- name: Create new issue in target repository
run: |
gh issue create \
--repo "w3cping/privacy-request" \
--title " #${{ github.event.issue.title }}" \
--body "This issue was created because the 'horizontal review requested' label was added to\n\n ${{ github.event.issue.html_url }}" \
--label "charter"
env:
GITHUB_TOKEN: ${{ secrets.W3CBOT_TOKEN }}

0 comments on commit 8bd7c3b

Please sign in to comment.