Update github/codeql-action action to v3.26.8 #1143
Workflow file for this run
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: Account Update | |
on: | |
pull_request: | |
branches: | |
- main | |
repository_dispatch: | |
schedule: | |
- cron: "0 */3 * * *" | |
workflow_dispatch: | |
env: | |
HEADLESS: ${{ vars.HEADLESS }} | |
PLAYWRIGHT_LOGGER: ${{ vars.PLAYWRIGHT_LOGGER }} | |
EMAIL: ${{ secrets.EMAIL }} | |
PASSWORD: ${{ secrets.PASSWORD }} | |
SKIP_LIST: ${{ vars.SKIP_LIST }} | |
jobs: | |
update_account: | |
name: Update account | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | |
with: | |
node-version-file: ".node-version" | |
cache: "yarn" | |
- run: yarn install --check-files --frozen-lockfile --non-interactive | |
- run: npx playwright install --with-deps chromium | |
- run: echo "CURRENT_DATE=2024-08-27" >> $GITHUB_ENV | |
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 | |
with: | |
path: user_data | |
key: ${{ runner.os }}-${{ env.CURRENT_DATE }} | |
- run: yarn update_account | |
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
if: ${{ !cancelled() }} | |
with: | |
path: screenshot | |
if-no-files-found: ignore |