mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CI: Remove pr-commands-closed workflow as replaced with auto-milestone (#72793)
This commit is contained in:
1
.github/CODEOWNERS
vendored
1
.github/CODEOWNERS
vendored
@@ -615,7 +615,6 @@ embed.go @grafana/grafana-as-code
|
|||||||
/.github/workflows/pr-codeql-analysis-go.yml @DanCech
|
/.github/workflows/pr-codeql-analysis-go.yml @DanCech
|
||||||
/.github/workflows/pr-codeql-analysis-javascript.yml @DanCech
|
/.github/workflows/pr-codeql-analysis-javascript.yml @DanCech
|
||||||
/.github/workflows/pr-codeql-analysis-python.yml @DanCech
|
/.github/workflows/pr-codeql-analysis-python.yml @DanCech
|
||||||
/.github/workflows/pr-commands-closed.yml @tolzhabayev
|
|
||||||
/.github/workflows/pr-commands.yml @marefr
|
/.github/workflows/pr-commands.yml @marefr
|
||||||
/.github/workflows/pr-patch-check.yml @grafana/grafana-delivery
|
/.github/workflows/pr-patch-check.yml @grafana/grafana-delivery
|
||||||
/.github/workflows/sync-mirror.yml @grafana/grafana-delivery
|
/.github/workflows/sync-mirror.yml @grafana/grafana-delivery
|
||||||
|
|||||||
20
.github/workflows/pr-commands-closed.yml
vendored
20
.github/workflows/pr-commands-closed.yml
vendored
@@ -1,20 +0,0 @@
|
|||||||
name: Run when PRs are closed
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types:
|
|
||||||
- closed
|
|
||||||
concurrency:
|
|
||||||
group: pr-commands-closed-${{ github.event.number }}
|
|
||||||
jobs:
|
|
||||||
close_job:
|
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
# this job will only run if the PR has been closed without being merged
|
|
||||||
if: github.event.pull_request.merged == false
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: |
|
|
||||||
echo PR #${{ github.event.number }} has been closed without being merged, removing milestone.
|
|
||||||
gh pr edit ${{ github.event.number }} --milestone "" --repo $GITHUB_REPOSITORY
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
Reference in New Issue
Block a user