diff --git a/.github/workflows/monitor-components.yml b/.github/workflows/monitor-components.yml index 9c78d6d3e92445..8623535e6361d9 100644 --- a/.github/workflows/monitor-components.yml +++ b/.github/workflows/monitor-components.yml @@ -12,12 +12,13 @@ on: env: CHARACTER_LIMIT: 5000 - MAX_AGE: 48h + MAX_AGE: 7d jobs: job: runs-on: ubuntu-latest - environment: monitor-components + permissions: + issues: write strategy: matrix: component: @@ -79,7 +80,7 @@ jobs: feed: ${{matrix.component.feed}} prefix: "[New ${{matrix.component.label}} version]" labels: component-update - github-token: ${{ secrets.MONITOR_COMPONENTS_PAT }} + github-token: ${{ secrets.GITHUB_TOKEN }} character-limit: ${{ env.CHARACTER_LIMIT }} max-age: ${{ env.MAX_AGE }} aggregate: ${{matrix.component.aggregate}}