Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- run: |
docker build . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/cot/slack-help-bot:pr-${{github.event.number}}-${{ steps.get-short-sha.outputs.shortSha }}
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/cot/slack-help-bot:pr-${{github.event.number}}-${{ steps.get-short-sha.outputs.shortSha }}
docker build . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/possessions/slack-help-bot:pr-${{github.event.number}}-${{ steps.get-short-sha.outputs.shortSha }}
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/possessions/slack-help-bot:pr-${{github.event.number}}-${{ steps.get-short-sha.outputs.shortSha }}
if: startsWith(github.ref, 'refs/pull')
- run: |
docker build . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/cot/slack-help-bot:prod-${{ steps.get-short-sha.outputs.shortSha }}-${{ steps.get-timestamp.outputs.timestamp }}
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/cot/slack-help-bot:prod-${{ steps.get-short-sha.outputs.shortSha }}-${{ steps.get-timestamp.outputs.timestamp }}
docker build . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/possessions/slack-help-bot:prod-${{ steps.get-short-sha.outputs.shortSha }}-${{ steps.get-timestamp.outputs.timestamp }}
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/possessions/slack-help-bot:prod-${{ steps.get-short-sha.outputs.shortSha }}-${{ steps.get-timestamp.outputs.timestamp }}
if: github.ref == 'refs/heads/main'
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const server = http.createServer((req, res) => {
}
res.end('OK');
} else if (req.url === '/health/readiness') {
res.end(`<h1>cot-slack-help-bot</h1>`)
res.end(`<h1>possessions-slack-help-bot</h1>`)
} else if (req.url === '/health/error') {
// Dummy error page
res.statusCode = 500;
Expand Down Expand Up @@ -481,7 +481,7 @@ app.event('app_mention', async ({ event, context, client, say }) => {

} else {
await say({
text: `Hi <@${event.user}>, if you want to escalate a request please tag \`cot-support\`, to see what else I can do reply back with \`help\``,
text: `Hi <@${event.user}>, if you want to escalate a request please tag \`possessions-support\`, to see what else I can do reply back with \`help\``,
thread_ts: event.thread_ts
});
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cot-slack-help-bot",
"name": "possessions-slack-help-bot",
"version": "1.0.0",
"description": "",
"main": "app.js",
Expand Down
2 changes: 1 addition & 1 deletion src/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function openHelpRequestBlocks() {
return {
"title": {
"type": "plain_text",
"text": "COT Support Request"
"text": "Possessions Support Request"
},
"submit": {
"type": "plain_text",
Expand Down
4 changes: 2 additions & 2 deletions src/setupSecrets.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const setup = () => {
if (config.has('secrets.cftptl-intsvc')) {
setSecret('secrets.cftptl-intsvc.jira-username', 'jira.username');
setSecret('secrets.cftptl-intsvc.jira-api-token', 'jira.api_token');
setSecret('secrets.cftptl-intsvc.cot-slack-bot-token', 'slack.bot_token');
setSecret('secrets.cftptl-intsvc.cot-slack-app-token', 'slack.app_token');
setSecret('secrets.cftptl-intsvc.possessions-slack-bot-token', 'slack.bot_token');
setSecret('secrets.cftptl-intsvc.possessions-slack-app-token', 'slack.app_token');
}
};

Expand Down
Loading