More workflow update for the slack alert composite action thing (#44374)
This commit is contained in:
@@ -20,6 +20,9 @@ jobs:
|
||||
if: github.repository == 'github/docs-internal' && github.actor != 'github-openapi-bot'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repo
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
|
||||
- id: membership_check
|
||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
with:
|
||||
|
||||
6
.github/workflows/needs-sme-workflow.yml
vendored
6
.github/workflows/needs-sme-workflow.yml
vendored
@@ -19,6 +19,9 @@ jobs:
|
||||
if: ${{ github.repository == 'github/docs' && (github.event.label.name == 'needs SME' && github.event_name == 'issues') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repo
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
|
||||
- uses: peter-evans/create-or-update-comment@3383acd359705b10cb1eeef05c0e88c056ea4666
|
||||
with:
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
@@ -33,6 +36,9 @@ jobs:
|
||||
if: ${{ github.repository == 'github/docs' && (github.event.label.name == 'needs SME' && github.event_name == 'pull_request_target') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repo
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
|
||||
- uses: peter-evans/create-or-update-comment@3383acd359705b10cb1eeef05c0e88c056ea4666
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
|
||||
3
.github/workflows/repo-sync-stalls.yml
vendored
3
.github/workflows/repo-sync-stalls.yml
vendored
@@ -52,6 +52,9 @@ jobs:
|
||||
}
|
||||
})
|
||||
|
||||
- name: Check out repo
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
|
||||
- uses: ./.github/actions/slack-alert
|
||||
with:
|
||||
slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
|
||||
|
||||
@@ -16,6 +16,9 @@ jobs:
|
||||
Process-secret-scanning-PR:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repo
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
|
||||
- name: Label pull requests updating the secret-scanning.yml file with ready-for-doc-review
|
||||
run: gh pr edit $PR --add-label "ready-for-doc-review"
|
||||
env:
|
||||
|
||||
@@ -84,6 +84,9 @@ jobs:
|
||||
- name: Debug output
|
||||
run: echo "${{ steps.set-matrix.outputs.result }}"
|
||||
|
||||
- name: Check out repo
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
|
||||
- uses: ./.github/actions/slack-alert
|
||||
with:
|
||||
slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
|
||||
|
||||
Reference in New Issue
Block a user