diff --git a/.github/workflows/approve-workflows.yml b/.github/workflows/approve-workflows.yml new file mode 100644 index 00000000..adbcb481 --- /dev/null +++ b/.github/workflows/approve-workflows.yml @@ -0,0 +1,27 @@ +--- +### +# This action is synced from https://github.com/prometheus/prometheus +### +name: Approve pending workflows + +on: + issue_comment: + types: [created] + +permissions: read-all + +jobs: + approve: + if: >- + github.event.issue.pull_request && + github.event.comment.body == '/workflow-approve' && + github.repository_owner == 'prometheus' + runs-on: ubuntu-latest + permissions: + actions: write + contents: read + pull-requests: write + steps: + - uses: prometheus/promci/approve_workflows@370e8c15dcec50043cbe66f2f34633d9efc0a190 + with: + github_token: ${{ github.token }} diff --git a/.github/workflows/container_description.yml b/.github/workflows/container_description.yml index 0e2f274b..591a4d68 100644 --- a/.github/workflows/container_description.yml +++ b/.github/workflows/container_description.yml @@ -1,4 +1,7 @@ --- +### +# This action is synced from https://github.com/prometheus/prometheus +### name: Push README to Docker Hub on: push: diff --git a/.github/workflows/govulncheck.yml b/.github/workflows/govulncheck.yml index 8dcca7ec..8c4deff9 100644 --- a/.github/workflows/govulncheck.yml +++ b/.github/workflows/govulncheck.yml @@ -1,4 +1,7 @@ --- +### +# This action is synced from https://github.com/prometheus/prometheus +### name: govulncheck on: pull_request: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 74d037f8..5df426b0 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,3 +1,6 @@ +### +# This action is synced from https://github.com/prometheus/prometheus +### name: Stale Check on: workflow_dispatch: {}