Skip to content

Update Session Issues #253

Update Session Issues

Update Session Issues #253

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@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Checkout Repo
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Update Session Issues
run: |
node ./build-system/common/update-session-issues
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}