Update Session Issues #767
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Session Issues | |
on: | |
# This schedule should match the time rotation configured on | |
# update-design-review-issues.js. | |
# Times correspond to session end, and additionally 1 hour earlier to account | |
# for Daylight Savings. | |
schedule: | |
- cron: '30 16,17 * * 3' # Africa/Europe/western Asia | |
- cron: '0 21,22 * * 3' # Americas | |
permissions: | |
contents: read | |
jobs: | |
update-session-issues: | |
permissions: | |
issues: write | |
if: github.repository == 'ampproject/amphtml' | |
name: Update Session Issues | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- name: Checkout Repo | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | |
- name: Update Session Issues | |
run: | | |
node ./build-system/common/update-session-issues | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |