Skip to content

Commit

Permalink
Update GHA actions based on actionlint (#1646)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzuraw authored Nov 13, 2024
1 parent 92a2a5f commit a036cce
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 18 deletions.
29 changes: 23 additions & 6 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
"App: Klaviyo": "apps/klaviyo/**/*"
"App: Product Feed": "apps/products-feed/**/*"
"App: Search": "apps/search/**/*"
"App: AvaTax": "apps/avatax/**/*"
"App: CMS": "apps/cms-v2/**/*"
"App: SMTP": "apps/smtp/**/*"
"App: Klaviyo":
- changed-files:
- any-glob-to-any-file: "apps/klaviyo/**/*"

"App: Product Feed":
- changed-files:
- any-glob-to-any-file: "apps/products-feed/**/*"

"App: Search":
- changed-files:
- any-glob-to-any-file: "apps/search/**/*"

"App: AvaTax":
- changed-files:
- any-glob-to-any-file: "apps/avatax/**/*"

"App: CMS":
- changed-files:
- any-glob-to-any-file: "apps/cms-v2/**/*"

"App: SMTP":
- changed-files:
- any-glob-to-any-file: "apps/smtp/**/*"
9 changes: 4 additions & 5 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: "Pull Request Labeler"

on:
pull_request:
types: [opened, edited, synchronize]
- pull_request_target

jobs:
triage:
Expand All @@ -11,6 +10,6 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
sync-labels: true
- uses: actions/labeler@v5
with:
sync-labels: true
11 changes: 4 additions & 7 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
# Tags are fetched for Changeset to distinguish from new ones while running `changeset tag`
- name: Git fetch tags
run: git fetch --tags origin
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
name: Install pnpm
- run: pnpm install
with:
run_install: |
- args: [--frozen-lockfile]
- name: Create Release Pull Request
uses: changesets/action@e2f8e964d080ae97c874b19e27b12e0a8620fb6c # v1.4.6
id: changesets
Expand Down

0 comments on commit a036cce

Please sign in to comment.