2021-09-02 09:59:53 +00:00
|
|
|
name: Validate manifest
|
|
|
|
on:
|
2022-12-06 17:37:54 +00:00
|
|
|
# The GITHUB_TOKEN secret is used to create a PR
|
|
|
|
# The pull_request event will not be triggered by it
|
|
|
|
# That's one of the reasons we need the schedule to validate the versions-manifest.json file
|
2021-10-14 13:57:05 +00:00
|
|
|
schedule:
|
|
|
|
- cron: '0 8,20 * * *'
|
2022-12-06 17:37:54 +00:00
|
|
|
workflow_dispatch:
|
2021-10-14 13:57:05 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
2021-09-02 09:59:53 +00:00
|
|
|
- main
|
2021-10-14 13:57:05 +00:00
|
|
|
paths:
|
2021-09-15 10:57:21 +00:00
|
|
|
- 'versions-manifest.json'
|
2021-10-14 13:57:05 +00:00
|
|
|
|
2021-09-02 09:59:53 +00:00
|
|
|
jobs:
|
2022-12-06 17:37:54 +00:00
|
|
|
manifest:
|
|
|
|
uses: actions/versions-package-tools/.github/workflows/validate-manifest.yml@main
|
|
|
|
with:
|
|
|
|
tool-name: "Node"
|
|
|
|
image-url: "https://nodejs.org/static/images/logo-hexagon-card.png"
|
|
|
|
secrets: inherit
|