Skip to content

Commit beeaffb

Browse files
authored
minor monitor-components improvements (git-for-windows#3983)
2 parents bb3e903 + c8dc900 commit beeaffb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/monitor-components.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ on:
1212

1313
env:
1414
CHARACTER_LIMIT: 5000
15-
MAX_AGE: 48h
15+
MAX_AGE: 7d
1616

1717
jobs:
1818
job:
1919
runs-on: ubuntu-latest
20-
environment: monitor-components
20+
permissions:
21+
issues: write
2122
strategy:
2223
matrix:
2324
component:
@@ -79,7 +80,7 @@ jobs:
7980
feed: ${{matrix.component.feed}}
8081
prefix: "[New ${{matrix.component.label}} version]"
8182
labels: component-update
82-
github-token: ${{ secrets.MONITOR_COMPONENTS_PAT }}
83+
github-token: ${{ secrets.GITHUB_TOKEN }}
8384
character-limit: ${{ env.CHARACTER_LIMIT }}
8485
max-age: ${{ env.MAX_AGE }}
8586
aggregate: ${{matrix.component.aggregate}}

0 commit comments

Comments
 (0)