From 5c52bddbf47f27a615081b23627ec94a4e6b3689 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Fri, 10 Nov 2023 22:54:25 +0100 Subject: [PATCH] docs(README): use latest versions of GitHub actions (#574) --- .github/workflows/export-labels.yml | 2 +- CONTRIBUTING.md | 3 +-- README.md | 8 ++++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/export-labels.yml b/.github/workflows/export-labels.yml index aef16b88..750ebe15 100644 --- a/.github/workflows/export-labels.yml +++ b/.github/workflows/export-labels.yml @@ -13,7 +13,7 @@ jobs: # This is needed if you're dealing with private repos. token: ${{ secrets.GITHUB_TOKEN }} - # Set this to `true` if you want to get the raw API reponse. Defaults to `false`. + # Set this to `true` if you want to get the raw API response. Defaults to `false`. raw-result: false # By default every label entry will have an `aliases` property set to an empty array. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3d1131d4..3fb49972 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,8 +6,7 @@ If you want to contribute to this project, check out this steps! 2. Either [open a new issue](https://github.com/EndBug/add-and-commit/issues/new/choose) or comment on an existing one to let everyone know what you're working on. 3. Edit the source files to implement your feature or fix. 4. Build the action and test it in a test repo. -5. Update the [action manifest](./action.yml) AND the [README](./README.md) with your changes. +5. Update the [action manifest](./action.yml) AND the [README](./README.md) with your changes. 6. [Open a PR](https://github.com/EndBug/add-and-commit/compare). Thanks! 💖 - diff --git a/README.md b/README.md index 88fcfdd8..94634487 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ If you want to make some changes, you have to checkout the branch the PR is comi You can set it up like this: ```yaml -- uses: actions/checkout@v3 +- uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} @@ -269,10 +269,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 - name: Install dependencies run: npm install @@ -304,7 +304,7 @@ jobs: steps: # If you need to, you can check out your repo to a different location - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: './pathToRepo/'