From 6dc3ed9086b31b0cf6ed928f3885e47a8990fb65 Mon Sep 17 00:00:00 2001 From: Peter Evans <18365890+peter-evans@users.noreply.github.com> Date: Tue, 22 Mar 2022 17:09:01 +0900 Subject: [PATCH] docs: update action versions --- README.md | 2 +- docs/concepts-guidelines.md | 4 ++-- docs/examples.md | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2880467..fcfd866 100644 --- a/README.md +++ b/README.md @@ -192,7 +192,7 @@ To create a project card for the pull request, pass the `pull-request-number` st - name: Create or Update Project Card if: ${{ steps.cpr.outputs.pull-request-number }} - uses: peter-evans/create-or-update-project-card@v1 + uses: peter-evans/create-or-update-project-card@v2 with: project-name: My project column-name: My column diff --git a/docs/concepts-guidelines.md b/docs/concepts-guidelines.md index f097710..80d0336 100644 --- a/docs/concepts-guidelines.md +++ b/docs/concepts-guidelines.md @@ -36,7 +36,7 @@ For each [event type](https://docs.github.com/en/actions/reference/events-that-t The default can be overridden by specifying a `ref` on checkout. ```yml - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: develop ``` @@ -73,7 +73,7 @@ jobs: example: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 ``` There may be use cases where it makes sense to execute the workflow on a branch that is not the base of the pull request. In these cases, the base branch can be specified with the `base` action input. The action will attempt to rebase changes made during the workflow on to the actual base. diff --git a/docs/examples.md b/docs/examples.md index 980143c..66973e7 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -146,9 +146,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: - node-version: '12.x' + node-version: '16.x' - name: Update dependencies run: | npx -p npm-check-updates ncu -u @@ -182,9 +182,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: - node-version: 12.x + node-version: 16.x - run: npm ci - run: npm run test - run: npm run build @@ -428,7 +428,7 @@ An `on: repository_dispatch` workflow can be triggered from another workflow wit ```yml - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v1 + uses: peter-evans/repository-dispatch@v2 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} repository: username/my-repo @@ -574,7 +574,7 @@ The template is rendered using the [render-template](https://github.com/chuhlomi ```yml - name: Render template id: template - uses: chuhlomin/render-template@v1.2 + uses: chuhlomin/render-template@v1.4 with: template: .github/pull-request-template.md vars: |