Skip to content

Commit

Permalink
AAE-28530 Use teams notifications instead of slack (#2433)
Browse files Browse the repository at this point in the history
  • Loading branch information
atchertchian authored Dec 5, 2024
1 parent ea1a3a7 commit 859ed60
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Check dependabot build
uses: Activiti/Activiti/.github/actions/check-ext-build@7700f0283a9ff5181581a350d2520e55c61c1c60 # 8.6.0
- name: pre-commit
uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@a0837df06d10de2cae8a99319e8e101a6cbe9083 # v8.4.0
uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
skip_checkout: true
- name: Ensure SHA pinned actions
Expand All @@ -49,7 +49,7 @@ jobs:
outputs:
version: ${{ steps.build-and-tag.outputs.version }}
steps:
- uses: Alfresco/alfresco-build-tools/.github/actions/maven-build-and-tag@a0837df06d10de2cae8a99319e8e101a6cbe9083 # v8.4.0
- uses: Alfresco/alfresco-build-tools/.github/actions/maven-build-and-tag@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
id: build-and-tag
with:
upload-jars: 'true'
Expand Down Expand Up @@ -98,8 +98,7 @@ jobs:
- promote
if: always() && failure() && github.event_name == 'push'
steps:
- name: Slack Notification
uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@a0837df06d10de2cae8a99319e8e101a6cbe9083 # v8.4.0
- name: Teams Notification
uses: Alfresco/alfresco-build-tools/.github/actions/send-teams-notification@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
channel-id: 'C03PE6U4MU1' # eng-hxp-studio-be-gh-notifs, to be renamed eng-automate-be-gh-notifs
token: ${{ secrets.SLACK_NOTIFICATION_BOT_TOKEN }}
webhook-url: ${{ secrets.TEAMS_NOTIFICATION_AUTOMATE_BACKEND_WEBHOOK }}
2 changes: 1 addition & 1 deletion .github/workflows/cache-cleanup-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- uses: Alfresco/alfresco-build-tools/.github/actions/gh-cache-cleanup-on-merge@a0837df06d10de2cae8a99319e8e101a6cbe9083 # v8.4.0
- uses: Alfresco/alfresco-build-tools/.github/actions/gh-cache-cleanup-on-merge@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/enforce-pr-conventions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: enforce-pr-conventions
id: git-naming-convention
uses: Alfresco/alfresco-build-tools/.github/actions/enforce-pr-conventions@a0837df06d10de2cae8a99319e8e101a6cbe9083 # v8.4.0
uses: Alfresco/alfresco-build-tools/.github/actions/enforce-pr-conventions@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
jira-project-key: AAE|HXOR
valid-branch-regex: ^(revert-|(improvement|fix|feature|test|tmp|release)\/(AAE|HXOR)-[0-9]+[_-]{1}[A-Za-z0-9._-]+|release\/[A-Za-z0-9]+)$
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Check dependabot build
uses: Activiti/Activiti/.github/actions/check-ext-build@7700f0283a9ff5181581a350d2520e55c61c1c60 # 8.6.0
- name: pre-commit
uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@a0837df06d10de2cae8a99319e8e101a6cbe9083 # v8.4.0
uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
skip_checkout: true
- name: Ensure SHA pinned actions
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Commit Changes
env:
VERSION: ${{ github.event.inputs.tag-name }}
uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@a0837df06d10de2cae8a99319e8e101a6cbe9083 # v8.4.0
uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
username: ${{ secrets.BOT_GITHUB_USERNAME }}
commit-message: "Release ${VERSION}"
Expand Down

0 comments on commit 859ed60

Please sign in to comment.