Skip to content

Commit 59c20a2

Browse files
authored
Merge pull request #322 from forcedotcom/update-gha
Update GHA actions
2 parents 599ccd0 + b1a0354 commit 59c20a2

6 files changed

+20
-45
lines changed

.github/CODEOWNERS

-6
This file was deleted.

.github/workflows/failureNotifications.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: failureNotifications
22
on:
33
workflow_run:
44
workflows:
5-
- version, tag and github release
65
- publish
76
- create-github-release
87
types:
@@ -14,7 +13,7 @@ jobs:
1413
steps:
1514
- name: Announce Failure
1615
id: slack
17-
uses: slackapi/slack-github-action@v1.21.0
16+
uses: slackapi/slack-github-action@v1.24.0
1817
env:
1918
# for non-CLI-team-owned plugins, you can send this anywhere you like
2019
SLACK_WEBHOOK_URL: ${{ secrets.CLI_ALERTS_SLACK_WEBHOOK }}

.github/workflows/notify-slack-on-pr-open.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Notify Slack on PR open
12-
env:
13-
WEBHOOK_URL : ${{ secrets.CLI_TEAM_SLACK_WEBHOOK_URL }}
14-
PULL_REQUEST_AUTHOR_ICON_URL : ${{ github.event.pull_request.user.avatar_url }}
15-
PULL_REQUEST_AUTHOR_NAME : ${{ github.event.pull_request.user.login }}
16-
PULL_REQUEST_AUTHOR_PROFILE_URL: ${{ github.event.pull_request.user.html_url }}
17-
PULL_REQUEST_BASE_BRANCH_NAME : ${{ github.event.pull_request.base.ref }}
18-
PULL_REQUEST_COMPARE_BRANCH_NAME : ${{ github.event.pull_request.head.ref }}
19-
PULL_REQUEST_NUMBER : ${{ github.event.pull_request.number }}
20-
PULL_REQUEST_REPO: ${{ github.event.pull_request.head.repo.name }}
21-
PULL_REQUEST_TITLE : ${{ github.event.pull_request.title }}
22-
PULL_REQUEST_URL : ${{ github.event.pull_request.html_url }}
23-
uses: salesforcecli/github-workflows/.github/actions/prNotification@main
11+
- name: Notify Slack on PR open
12+
env:
13+
WEBHOOK_URL: ${{ secrets.CLI_TEAM_SLACK_WEBHOOK_URL }}
14+
PULL_REQUEST_AUTHOR_ICON_URL: ${{ github.event.pull_request.user.avatar_url }}
15+
PULL_REQUEST_AUTHOR_NAME: ${{ github.event.pull_request.user.login }}
16+
PULL_REQUEST_AUTHOR_PROFILE_URL: ${{ github.event.pull_request.user.html_url }}
17+
PULL_REQUEST_BASE_BRANCH_NAME: ${{ github.event.pull_request.base.ref }}
18+
PULL_REQUEST_COMPARE_BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
19+
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
20+
PULL_REQUEST_REPO: ${{ github.event.pull_request.head.repo.name }}
21+
PULL_REQUEST_TITLE: ${{ github.event.pull_request.title }}
22+
PULL_REQUEST_URL: ${{ github.event.pull_request.html_url }}
23+
uses: salesforcecli/github-workflows/.github/actions/prNotification@main

.github/workflows/onRelease.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
tag: ${{ steps.distTag.outputs.tag }}
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
with:
2121
ref: ${{ github.event.release.tag_name || inputs.tag }}
2222
- uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main

.github/workflows/slackprnotification.yml

-23
This file was deleted.

CODEOWNERS

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Techical writers will be added as reviewers on markdown changes.
2+
*.md @forcedotcom/cli-docs
3+
4+
# Comment line immediately above ownership line is reserved for related other information. Please be careful while editing.
5+
#ECCN:Open Source 5D002

0 commit comments

Comments
 (0)