name: Remove Stale Issue Labels on Plan Approved (Local) on: pull_request_target: types: [labeled] concurrency: group: remove-stale-labels-${{ github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: remove_stale_labels: if: github.event.label.name == 'plan-approved' permissions: contents: read issues: write pull-requests: read uses: warpdotdev/oz-for-oss/.github/workflows/remove-stale-issue-labels-on-plan-approved.yml@main with: pr_number: ${{ github.event.pull_request.number }} secrets: OZ_MGMT_GHA_APP_ID: ${{ secrets.OZ_MGMT_GHA_APP_ID }} OZ_MGMT_GHA_PRIVATE_KEY: ${{ secrets.OZ_MGMT_GHA_PRIVATE_KEY }}