Skip to content

Commit dab5367

Browse files
authored
chore: bump actions to latest versions
Bump Actions to Latest Versions
2 parents 63007bf + cf537f8 commit dab5367

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/notify.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: notify
23

34
on:
@@ -9,14 +10,14 @@ jobs:
910
runs-on: ubuntu-latest
1011
steps:
1112
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v2
13+
- uses: actions/setup-node@v3
1314
with:
1415
node-version: 16
1516
- run: |
1617
GIT_COMMIT_TILE=$(git log -1 --pretty=format:"%s")
1718
curl -X POST --data-urlencode "payload={\"attachments\":[{\"fallback\":\"$GIT_AUTHOR_NAME released new $ORGANIZATION_NAME $REPO_NAME version of $GITHUB_REF_NAME\",\"color\":\"good\",\"title\":\"Version $GITHUB_REF_NAME of $ORGANIZATION_NAME $REPO_NAME released\",\"title_link\":\"$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/tag/$GITHUB_REF_NAME\",\"fields\":[{\"title\":\"Tag\",\"value\":\"<$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/commits/$GITHUB_REF_NAME|$GITHUB_REF_NAME>\",\"short\":true},{\"title\":\"Commit\",\"value\":\"<$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/tree/$GITHUB_REF_NAME|$GIT_COMMIT_TILE>\",\"short\":true}],\"footer\":\"$ORGANIZATION_NAME $REPO_NAME \",\"ts\":\"$( date +%s )\"}]}" $SLACK_WEBHOOK
1819
env:
1920
REPO_NAME: ${{ github.event.repository.name }}
20-
GIT_AUTHOR_NAME: 'AutoCloud Deploy Bot'
21+
GIT_AUTHOR_NAME: "AutoCloud Deploy Bot"
2122
SLACK_WEBHOOK: ${{secrets.slack_api_endpoint}}
22-
ORGANIZATION_NAME: ${{secrets.organization_name}}
23+
ORGANIZATION_NAME: ${{secrets.organization_name}}

.github/workflows/pr-validator.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: pr-validator
23

34
on:

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3-
1+
---
42
name: publish
53

64
on:
@@ -30,7 +28,7 @@ jobs:
3028
echo "::set-output name=dir::$(yarn cache dir)"
3129
3230
- name: Restoring cache
33-
uses: actions/cache@v2
31+
uses: actions/cache@v3
3432
id: yarn-cache # use this to check for `cache-hit` ==> if: steps.yarn-cache.outputs.cache-hit != 'true'
3533
with:
3634
path: ${{ steps.yarn-cache-dir.outputs.dir }}

0 commit comments

Comments
 (0)