1
0
mirror of synced 2025-12-30 03:01:36 -05:00

More workflow update for the slack alert composite action thing (#44374)

This commit is contained in:
Robert Sese
2023-10-14 12:19:48 -05:00
committed by GitHub
parent 40937834c5
commit 3fa016fcc9
5 changed files with 18 additions and 0 deletions

View File

@@ -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:

View File

@@ -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 }}

View File

@@ -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 }}

View File

@@ -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:

View File

@@ -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 }}