Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Update engine and dependencies #363

Merged
merged 8 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/01_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body:
jobs:
labels:
name: ♻️ Sync labels
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ concurrency:
jobs:
cache:
name: 💾 Cache dependencies
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: 🚀 Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: .nvmrc
cache: npm

- name: 📦 Install dependencies
Expand All @@ -34,17 +34,17 @@ jobs:
eslint:
needs: [ cache ]
name: 🛂 Run eslint scanning
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: 🚀 Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: .nvmrc
cache: npm

- name: 📦 Install dependencies
Expand Down Expand Up @@ -87,17 +87,17 @@ jobs:
tests:
needs: [ cache ]
name: 🚀 Run tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: 🚀 Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: .nvmrc
cache: npm

- name: 📦 Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
editorconfig:
name: 🕵️‍♂️ EditorConfig checker
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ on:
jobs:
verify:
name: 🛂 Verify Hash
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: 🚀 Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: .nvmrc
cache: npm

- name: 📦 Install dependencies
Expand All @@ -31,7 +31,7 @@ jobs:
npx esbuild src/app.js
--outfile=tmp/label-sync-action.cjs
--platform=node
--target=node16
--target=node20
--minify
--bundle
- name: 🛡️ Verify Hash dist/label-sync-action.cjs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
jobs:
labeler:
name: 🔖 Pull Request Labeler
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: 🚀 Run labeler
uses: actions/labeler@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
jobs:
lock:
name: 🔐 Lock closed issues and PRs
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: 🚀 Run lock threads
uses: dessant/lock-threads@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
jobs:
pr-labels:
name: 🏷️ Verify PR Labels
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: 🚀 Run verify pr label
uses: jesusvasquez333/verify-pr-label-action@v1.4.0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/squash-rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
contains(github.event.comment.body, '@gitbot rebase') ||
contains(github.event.comment.body, '@gitbot squash')
)
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
permission: ${{ steps.check-permissions.outputs.permission }}
steps:
Expand All @@ -75,7 +75,7 @@ jobs:
needs: [catch-comment]
name: ✅ Permission approved
if: needs.catch-comment.outputs.permission == 'true'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
needs: [catch-comment]
name: ⛔ Permission denied
if: needs.catch-comment.outputs.permission == 'false'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: 👎 Reaction to comment
uses: peter-evans/create-or-update-comment@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
jobs:
stale:
name: 👻 Stale Close Issues and PRs
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: 🚀 Run stale
uses: actions/stale@v8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
jobs:
labels:
name: ♻️ Sync labels
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ on:
jobs:
labels:
name: ♻️ Sync labels
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3

- name: 🚀 Run Label Sync
uses: srealmoreno/label-sync-action@v1
uses: srealmoreno/label-sync-action@v2
```

## 📋 Usage
Expand All @@ -111,7 +111,7 @@ Specify a repository or a list of repositories
```yaml
...
- name: 🚀 Run Label Sync
uses: srealmoreno/label-sync-action@v1
uses: srealmoreno/label-sync-action@v2
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

Expand Down Expand Up @@ -144,7 +144,7 @@ If you use only url, the `actions/checkout@v3` step is not necessary
...
steps:
- name: 🚀 Run Label Sync
uses: srealmoreno/label-sync-action@v1
uses: srealmoreno/label-sync-action@v2
with:
config-file: https://raw.githubusercontent.com/srealmoreno/label-sync-action/main/.github/labels/labels.yml
```
Expand All @@ -157,7 +157,7 @@ tags in all repositories you can use the `auto-discover-repos` option.
```yaml
...
- name: 🚀 Run Label Sync
uses: srealmoreno/label-sync-action@v1
uses: srealmoreno/label-sync-action@v2
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
auto-discover-repos: true
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ branding:
color: blue

runs:
using: node16
using: node20
main: dist/label-sync-action.cjs

inputs:
Expand Down
311 changes: 157 additions & 154 deletions dist/label-sync-action.cjs

Large diffs are not rendered by default.

Loading
Loading