4343 - run : yarn test:self
4444 - run : yarn test:build-packages
4545 - run : yarn test:type
46- - if : ${{ github.event_name != 'pull_request' && (failure() || cancelled()) }}
47- name : Slack Notify
48- uses : rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2.3.3
46+ - name : Slack Notify
47+ if : ${{ github.event_name != 'pull_request' && (failure() || cancelled()) }}
4948 env :
5049 SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
5150 SLACK_USERNAME : SDK Pipeline Bot
5554 SLACK_COLOR : ${{ job.status }}
5655 SLACK_MSG_AUTHOR : ' '
5756 SLACK_ICON : https://sap.github.io/cloud-sdk/img/logo.png
57+ uses : rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2.3.3
5858
5959 checks :
6060 if : inputs.canary-release-skip-checks == false
@@ -69,28 +69,27 @@ jobs:
6969 - name : REUSE Compliance Check
7070 uses : fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0
7171 - run : yarn install --frozen-lockfile --ignore-engines
72- - run : yarn lint
73- name : Static Code Check
74- - run : yarn check:test-service
75- name : Test Service Version Check
76- - run : yarn check:dependencies
77- name : Undeclared dependency Check
78- - uses : ./.github/actions/check-public-api
72+ - name : Static Code Check
73+ run : yarn lint
74+ - name : Test Service Version Check
75+ run : yarn check:test-service
76+ - name : Undeclared dependency Check
77+ run : yarn check:dependencies
78+ - name : Check public api
79+ uses : ./.github/actions/check-public-api
7980 with :
8081 force_internal_exports : ' true'
8182 excluded_packages : ' eslint-config, util, test-util'
82- name : Check public api
83- - run : yarn test:self
84- name : Self tests for tools
85- - run : yarn check:circular
86- name : Circular dependency Check
87- - run : yarn doc
88- name : API Doc Check
89- - run : yarn check:license
90- name : License Check
91- - if : ${{ github.event_name != 'pull_request' && (failure() || cancelled()) }}
92- name : Slack Notify
93- uses : rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2.3.3
83+ - name : Self tests for tools
84+ run : yarn test:self
85+ - name : Circular dependency Check
86+ run : yarn check:circular
87+ - name : API Doc Check
88+ run : yarn doc
89+ - name : License Check
90+ run : yarn check:license
91+ - name : Slack Notify
92+ if : ${{ github.event_name != 'pull_request' && (failure() || cancelled()) }}
9493 env :
9594 SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
9695 SLACK_USERNAME : SDK Pipeline Bot
10099 SLACK_COLOR : ${{ job.status }}
101100 SLACK_MSG_AUTHOR : ' '
102101 SLACK_ICON : https://sap.github.io/cloud-sdk/img/logo.png
102+ uses : rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2.3.3
103103
104104 e2e-tests :
105105 if : inputs.canary-release-skip-checks == false
@@ -129,16 +129,16 @@ jobs:
129129 github-token : ' ${{ secrets.GITHUB_TOKEN }}'
130130 - name : Approve a PR
131131 if : ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' }}
132- run : gh pr review --approve "$PR_URL"
133132 env :
134133 PR_URL : ${{github.event.pull_request.html_url}}
135134 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
135+ run : gh pr review --approve "$PR_URL"
136136 - name : Enable auto-merge for Dependabot PRs
137137 if : ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' }}
138- run : gh pr merge --auto --squash "$PR_URL"
139138 env :
140139 PR_URL : ${{github.event.pull_request.html_url}}
141140 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
141+ run : gh pr merge --auto --squash "$PR_URL"
142142 canary-release-pre-check :
143143 if : inputs.is-workflow-call && inputs.canary-release-skip-checks == false
144144 runs-on : ubuntu-latest
@@ -151,8 +151,8 @@ jobs:
151151 steps :
152152 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
153153 - run : git fetch --depth=1
154- - id : date-check
155- name : Check if latest commit is within 24 hrs
154+ - name : Check if latest commit is within 24 hrs
155+ id : date-check
156156 run : |
157157 lastCommitDate=$(git --no-pager log -n 1 "$REF_NAME" --pretty=format:"%at")
158158 curDate=$(date +%s)
@@ -205,9 +205,9 @@ jobs:
205205 node-version : 22
206206 cache : ' yarn'
207207 - run : yarn install --frozen-lockfile --ignore-engines
208- - uses : ./.github/actions/get-changelog
209- name : Get Changelog
208+ - name : Get Changelog
210209 id : get-changelog
210+ uses : ./.github/actions/get-changelog
211211 - name : Create Release
212212 env :
213213 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments