mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 15:51:43 +00:00
update progress bot (#43972)
* update bucket * update with new image Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>
This commit is contained in:
parent
15d76ca8c8
commit
282810a958
2
.github/workflows/progress.yml
vendored
2
.github/workflows/progress.yml
vendored
@ -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' }}
|
||||
|
||||
@ -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()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user