|
22 | 22 | - uses: actions/checkout@v4 |
23 | 23 | # If using sd on macos, "brew install" works great. for Linux, this is the recommended way. |
24 | 24 | - name: Install sd CLI to use later in the workflow |
25 | | - uses: kenji-miyake/setup-sd@v2 |
| 25 | + uses: kenji-miyake/setup-sd@08c14e27d65a1c215342ef00c81583ae67f4c5ef # v2.0.0 |
26 | 26 |
|
27 | 27 | # Setup Android SDK as it's needed to generate the SDK size report. |
28 | 28 | - name: Setup Android SDK |
|
48 | 48 | # 2. Updates metadata files. Such as updating the version number in package.json and adding entries to CHANGELOG.md file. |
49 | 49 | # 3. Create git tag and push it to github. |
50 | 50 | - name: Deploy git tag via semantic-release |
51 | | - uses: cycjimmy/semantic-release-action@v4 |
| 51 | + uses: cycjimmy/semantic-release-action@0a51e81a6baff2acad3ee88f4121c589c73d0f0e # v4.2.0 |
52 | 52 | id: semantic-release |
53 | 53 | with: |
54 | 54 | dry_run: false |
|
62 | 62 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
63 | 63 |
|
64 | 64 | - name: Notify team of git tag being created |
65 | | - uses: slackapi/slack-github-action@v2.0.0 |
| 65 | + uses: slackapi/slack-github-action@71c4f79cb8ada5ed920ec668b73f8530444a133b # v2.0.0-rc.3 |
66 | 66 | if: steps.semantic-release.outputs.new_release_published == 'true' # only run if a git tag was made. |
67 | 67 | with: |
68 | 68 | webhook: ${{ secrets.SLACK_NOTIFY_RELEASES_WEBHOOK_URL }} |
@@ -101,15 +101,15 @@ jobs: |
101 | 101 | SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK |
102 | 102 |
|
103 | 103 | - name: Send Velocity Deployment |
104 | | - uses: codeclimate/velocity-deploy-action@v1.0.0 |
| 104 | + uses: codeclimate/velocity-deploy-action@1b4a22f0db113bf8d85c14fd726cf0ec6d17cd13 # v1.0.0 |
105 | 105 | if: steps.semantic-release.outputs.new_release_published == 'true' # only run if a git tag was made. |
106 | 106 | with: |
107 | 107 | token: ${{ secrets.VELOCITY_DEPLOYMENT_TOKEN }} |
108 | 108 | version: ${{ steps.semantic-release.outputs.new_release_version }} |
109 | 109 | environment: production |
110 | 110 |
|
111 | 111 | - name: Notify team of failure |
112 | | - uses: slackapi/slack-github-action@v2.0.0 |
| 112 | + uses: slackapi/slack-github-action@71c4f79cb8ada5ed920ec668b73f8530444a133b # v2.0.0-rc.3 |
113 | 113 | if: ${{ failure() }} # only run this if any previous step failed |
114 | 114 | with: |
115 | 115 | webhook: ${{ secrets.SLACK_NOTIFY_RELEASES_WEBHOOK_URL }} |
@@ -169,7 +169,7 @@ jobs: |
169 | 169 | SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }} |
170 | 170 |
|
171 | 171 | - name: Notify team of successful deployment |
172 | | - uses: slackapi/slack-github-action@v2.0.0 |
| 172 | + uses: slackapi/slack-github-action@71c4f79cb8ada5ed920ec668b73f8530444a133b # v2.0.0-rc.3 |
173 | 173 | if: ${{ success() }} |
174 | 174 | with: |
175 | 175 | webhook: ${{ secrets.SLACK_NOTIFY_RELEASES_WEBHOOK_URL }} |
@@ -208,7 +208,7 @@ jobs: |
208 | 208 | SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK |
209 | 209 |
|
210 | 210 | - name: Notify team of failure |
211 | | - uses: slackapi/slack-github-action@v2.0.0 |
| 211 | + uses: slackapi/slack-github-action@71c4f79cb8ada5ed920ec668b73f8530444a133b # v2.0.0-rc.3 |
212 | 212 | if: ${{ failure() }} # only run this if any previous step failed |
213 | 213 | with: |
214 | 214 | webhook: ${{ secrets.SLACK_NOTIFY_RELEASES_WEBHOOK_URL }} |
|
0 commit comments