FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sourcegraph/.github/workflows/progress.yml at main · chengbapi/sourcegraph · GitHub
chengbapi
/
sourcegraph
Public
forked from
sourcegraph/sourcegraph-public-snapshot
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
sourcegraph
/
.github
/
workflows
/
progress.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
37 lines (37 loc) · 1.23 KB
Breadcrumbs
sourcegraph
/
.github
/
workflows
/
progress.yml
Copy path
File metadata and controls
37 lines (37 loc) · 1.23 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name
:
Progress bot
on
:
workflow_dispatch
:
inputs
:
since
:
description
:
'
Time period to report
'
required
:
false
default
:
'
24h
'
dry
:
description
:
'
Only output message that would be sent to Slack
'
required
:
false
default
:
'
false
'
channel
:
description
:
'
Slack channel to send message to
'
required
:
false
default
:
'
progress
'
schedule
:
-
cron
:
"
0 0 * * *
"
#
Every day 00:00 UTC (4pm PST)
jobs
:
report-to-slack
:
runs-on
:
ubuntu-latest
name
:
Report the last 24h of CHANGELOG to the progress channel
steps
:
-
uses
:
actions/checkout@v2
with
:
fetch-depth
:
1000
-
name
:
Set up GCP key
run
:
|
echo ${{ secrets.PROGRESS_BOT_GCP_ACCOUNT_KEY }} | base64 -d > progress-bot-credentials.json
-
name
:
Report to Slack
uses
:
docker://sourcegraph/progress-bot:latest
env
:
SINCE
:
${{ github.event.inputs.since || '24h' }}
DRY
:
${{ github.event.inputs.dry || 'false' }}
CHANNEL
:
${{ github.event.inputs.channel || 'progress' }}
GOOGLE_APPLICATION_CREDENTIALS
:
progress-bot-credentials.json
SLACK_API_TOKEN
:
${{ secrets.PROGRESS_BOT_SLACK_API_TOKEN }}
Back
|
FazBrowse Home
|
New Git URL