docs(README): use latest versions of GitHub actions (#574)

This commit is contained in:
Andreas Deininger
2023-11-10 22:54:25 +01:00
committed by GitHub
parent bc2d0650bf
commit 5c52bddbf4
3 changed files with 6 additions and 7 deletions

View File

@@ -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.

View File

@@ -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! 💖

View File

@@ -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/'