mirror of
https://github.com/renovatebot/github-action.git
synced 2026-12-06 03:42:57 +00:00
chore: pin actions in workflows
This commit is contained in:
5 files changed
+8
-11
No files matched your search
@@ -9,7 +9,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v2.0.0
|
||||
- name: Renovate example
|
||||
uses: ./
|
||||
with:
|
||||
|
||||
@@ -7,12 +7,10 @@ on:
|
||||
jobs:
|
||||
commitlint:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v2.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Lint commit messages
|
||||
uses: wagoid/commitlint-github-action@v1
|
||||
uses: wagoid/commitlint-github-action@v1.6.0
|
||||
@@ -9,9 +9,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v2.0.0
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v1.4.1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- name: Install project
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
github.event.commits[0].message == 'chore(release): trigger release process [ci release][patch]'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v2.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Fetch tags
|
||||
@@ -23,10 +23,9 @@ jobs:
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v1.4.1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- name: Install project
|
||||
run: npm ci
|
||||
- name: Release
|
||||
|
||||
@@ -53,7 +53,7 @@ Note that the [`GITHUB_TOKEN`](https://help.github.com/en/actions/configuring-an
|
||||
|
||||
## Example
|
||||
|
||||
This example uses a personal access token that is a Secret named `RENOVATE_TOKEN`.
|
||||
This example uses a personal access token that is a GitHub secret named `RENOVATE_TOKEN`.
|
||||
|
||||
```yml
|
||||
name: Example
|
||||
|
||||
Reference in new issue
Block a user