Skip to content

Commit

Permalink
Update allowlist-request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SystemJargon authored May 16, 2024
1 parent cf35e45 commit 528ba74
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/allowlist-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
permissions:
issues: write
steps:
- name: Debug Event Payload
run: echo "Event payload: ${{ toJson(github.event) }}"

- name: Close Issue
uses: peter-evans/close-issue@v3
with:
Expand All @@ -24,15 +27,18 @@ jobs:
permissions:
contents: write
steps:
- name: Debug Event Payload
run: echo "Event payload: ${{ toJson(github.event) }}"

- name: Checkout Repository
uses: actions/checkout@v2

- name: Extract Domain
id: extract_domain
run: echo "${{ github.event.issue.fields.domains }}"
run: echo "Domains field value: ${{ github.event.issue.fields.domains }}"

- name: Append Domain to File
run: echo "${{ steps.extract_domain.outputs.stdout }}" >> .source/allowlist-request.txt
run: echo "Appending domain: ${{ steps.extract_domain.outputs.stdout }}" >> .source/allowlist-request.txt
working-directory: ${{ github.workspace }}

- name: Start commit change
Expand All @@ -41,5 +47,6 @@ jobs:
- name: Commit changes
uses: EndBug/add-and-commit@main
with:
default_author: github_actions
author_name: github-actions
author_email: github-actions@github.com
message: ${{ env.MSG }}

0 comments on commit 528ba74

Please sign in to comment.