[MWPW-158872 : NALA] Update Nala GitHub Action runs to correctly handle bot-generated PR details. #3466
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: Add or remove zero impact label | |
on: | |
pull_request_target: | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Add the zero impact label | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const main = require('./.github/workflows/label-zero-impact.js') | |
main({ github, context }) |