update progress bot (#43972)

* update bucket

* update with new image

Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>
This commit is contained in:
Dave Try 2022-11-08 07:12:11 -05:00 committed by GitHub
parent 15d76ca8c8
commit 282810a958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ jobs:
run: |
echo ${{ secrets.PROGRESS_BOT_GCP_ACCOUNT_KEY }} | base64 -d > progress-bot-credentials.json
- name: Report to Slack
uses: docker://sourcegraph/progress-bot:latest
uses: docker://sourcegraph/progress-bot:latest@sha256:a6c8906529fd752e40cbad20085904d4fa4ed085f567cf00682fdd9b8fcdd611
env:
SINCE: ${{ github.event.inputs.since || '24h' }}
DRY: ${{ github.event.inputs.dry || 'false' }}

View File

@ -36,7 +36,7 @@ func main() {
since := flag.Duration("since", 24*time.Hour, "Report new changelog entries since this period")
dry := flag.Bool("dry", false, "If true, print out the JSON payload that would be sent to the Slack API")
channel := flag.String("channel", "progress-bot-test", "Slack channel to post message to")
gcsBucket := flag.String("bucket", "sourcegraph-progress-bot-avatars", "GCS bucket to which generated group avatars are uploaded")
gcsBucket := flag.String("bucket", "sg-progress-bot-avatars", "GCS bucket to which generated group avatars are uploaded")
flag.Parse()