custom_vesync/.github/workflows/workflow_updater.yaml

27 lines
625 B
YAML
Raw Normal View History

2022-12-08 11:07:22 +01:00
name: GitHub Actions Version Updater
# Controls when the action will run.
on:
2022-12-08 11:24:06 +01:00
workflow_dispatch:
2022-12-08 11:07:22 +01:00
schedule:
# Automatically run on every Sunday
2022-12-08 11:15:57 +01:00
- cron: '0 0 * * *'
2022-12-08 11:24:06 +01:00
2022-12-08 11:07:22 +01:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.2
2022-12-08 11:07:22 +01:00
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
2023-02-13 09:09:24 +01:00
- name: GitHub Actions Version Updater
uses: saadmk11/github-actions-version-updater@v0.7.4
2022-12-08 11:07:22 +01:00
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}