mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
f156427244
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](f43a0e5ff2...8ade135a41
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
PR-URL: https://github.com/nodejs/node/pull/50001
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
39 lines
1.4 KiB
YAML
39 lines
1.4 KiB
YAML
name: License update
|
|
on:
|
|
schedule:
|
|
# 00:00:00 every Monday
|
|
# https://crontab.guru/#0_0_*_*_1
|
|
- cron: 0 0 * * 1
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
update_license:
|
|
permissions:
|
|
contents: write # for gr2m/create-or-update-pull-request-action to push local changes
|
|
pull-requests: write # for gr2m/create-or-update-pull-request-action to create a PR
|
|
if: github.repository == 'nodejs/node'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
|
with:
|
|
persist-credentials: false
|
|
- run: ./tools/license-builder.sh # Run the license builder tool
|
|
- uses: gr2m/create-or-update-pull-request-action@77596e3166f328b24613f7082ab30bf2d93079d5
|
|
# Creates a PR or update the Action's existing PR, or
|
|
# no-op if the base branch is already up-to-date.
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
author: Node.js GitHub Bot <github-bot@iojs.org>
|
|
branch: actions/license-builder
|
|
title: 'doc: run license-builder'
|
|
body: >
|
|
License is likely out of date. This is an automatically generated PR by
|
|
the `license-builder.yml` GitHub Action, which runs `license-builder.sh`
|
|
and submits a new PR or updates an existing PR.
|
|
commit-message: 'doc: run license-builder'
|
|
labels: meta
|