Skip to content

Commit 724178b

Browse files
authored
Update token for checkout in daily summarize workflow (#30)
* Update daily_summarize.yaml * Update daily_collection.yaml * Update traffic_collection.yaml * Update weekly_collection.yaml
1 parent dd516a0 commit 724178b

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/daily_collection.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
daily_github_collection:
1616
environment: daily
1717
runs-on: ubuntu-latest
18+
timeout-minutes: 120
1819
steps:
1920
- uses: actions/checkout@v4
2021
- name: Install uv
@@ -37,6 +38,7 @@ jobs:
3738
alert:
3839
needs: [daily_github_collection]
3940
runs-on: ubuntu-latest
41+
timeout-minutes: 5
4042
if: failure()
4143
steps:
4244
- uses: actions/checkout@v4

.github/workflows/daily_summarize.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
repository: sdv-dev/sdv-dev.github.io
3838
path: sdv-dev.github.io
3939
ref: 'gatsby-home'
40-
token: ${{ secrets.GH_ACCESS_TOKEN }}
40+
token: ${{ secrets.GH_TOKEN }}
4141
- name: Write to sdv-dev.github.io repo
4242
run: |
4343
ls
@@ -47,11 +47,12 @@ jobs:
4747
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
4848
git add --force assets/GitHub_Summary.xlsx
4949
git commit -m "Upload GitHub Summary - $(date '+%Y-%m-%d %H:%M:%S')"
50-
git remote set-url origin https://sdv-team:${{ secrets.GH_ACCESS_TOKEN }}@github.com/sdv-dev/sdv-dev.github.io
50+
git remote set-url origin https://sdv-team:${{ secrets.GH_TOKEN }}@github.com/sdv-dev/sdv-dev.github.io
5151
git push origin gatsby-home
5252
alert:
5353
needs: [summarize]
5454
runs-on: ubuntu-latest
55+
timeout-minutes: 5
5556
if: failure()
5657
steps:
5758
- uses: actions/checkout@v4

.github/workflows/traffic_collection.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
alert:
3737
needs: [daily_traffic_collection]
3838
runs-on: ubuntu-latest
39+
timeout-minutes: 5
3940
if: failure()
4041
steps:
4142
- uses: actions/checkout@v4

.github/workflows/weekly_collection.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
alert:
4545
needs: [weekly_github_collection]
4646
runs-on: ubuntu-latest
47+
timeout-minutes: 5
4748
if: failure()
4849
steps:
4950
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)