Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overhaul the complete labelling system #4438

Merged
merged 8 commits into from
Jun 6, 2024
Next Next commit
Record change info during PR automation init
  • Loading branch information
dhruvkb committed Jun 4, 2024
commit 3d72c36962abfc150785c20b483a2e9371b1e857
29 changes: 28 additions & 1 deletion .github/workflows/pr_automations_init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,34 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.node_id }}

jobs:
run:
change-info:
name: Save change info
runs-on: ubuntu-latest
permissions:
pull-requests: read
# Prevent running this workflow on forks, it's unnecessary for external contributors
if: github.repository_owner == 'WordPress'
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Get changes
id: paths-filter
uses: ./.github/actions/get-changes

- name: Save change info
run: |
echo "$CHANGES" > /tmp/change.json
env:
CHANGES: ${{ steps.paths-filter.outputs.changes }}

- name: Upload change info as artifact
uses: actions/upload-artifact@v4
with:
name: change_info
path: /tmp/change.json

event-info:
name: Save event info
runs-on: ubuntu-latest
# Prevent running this workflow on forks, it's unnecessary for external contributors
Expand Down