revert: remove unintended workflow file changes
This commit is contained in:
1 parent
897ad0e7c3
commit
962736cabf
5 files changed
+27
-3
No files matched your search
@@ -36,7 +36,7 @@ updates:
|
||||
|
||||
- package-ecosystem: npm
|
||||
cooldown:
|
||||
default-days: 1
|
||||
default-days: 7
|
||||
directory: /
|
||||
schedule:
|
||||
interval: daily
|
||||
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
if [ "${{ github.event_name }}" = "pull_request" ]; then
|
||||
echo "alias=pr-${{ github.event.pull_request.number }}" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
branch="${{ github.ref_name }}"
|
||||
branch="${GITHUB_REF_NAME}"
|
||||
alias="$(echo "$branch" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g' | sed 's/-\+/-/g' | sed 's/^-\|-$//g')"
|
||||
echo "alias=${alias}" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
@@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches: [dev]
|
||||
tags:
|
||||
- 'sable/v*'
|
||||
- 'v*'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'Dockerfile'
|
||||
|
||||
@@ -4,11 +4,13 @@ on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [dev]
|
||||
merge_group:
|
||||
|
||||
jobs:
|
||||
format:
|
||||
name: Format check
|
||||
runs-on: ubuntu-latest
|
||||
if: github.head_ref != 'release'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
@@ -26,6 +28,7 @@ jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
if: github.head_ref != 'release'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
@@ -43,6 +46,7 @@ jobs:
|
||||
typecheck:
|
||||
name: Typecheck
|
||||
runs-on: ubuntu-latest
|
||||
if: github.head_ref != 'release'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
@@ -60,6 +64,7 @@ jobs:
|
||||
knip:
|
||||
name: Knip
|
||||
runs-on: ubuntu-latest
|
||||
if: github.head_ref != 'release'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
@@ -73,3 +78,20 @@ jobs:
|
||||
|
||||
- name: Run Knip
|
||||
run: pnpm run knip
|
||||
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
if: github.head_ref != 'release'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Setup app and build
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
build: 'true'
|
||||
@@ -3,6 +3,7 @@ name: Require Changeset
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, labeled, unlabeled]
|
||||
merge_group:
|
||||
branches: [dev]
|
||||
|
||||
permissions: {}
|
||||
@@ -10,6 +11,7 @@ permissions: {}
|
||||
jobs:
|
||||
require-changeset:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.head_ref != 'release' && github.event_name != 'merge_group'
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
Reference in new issue
Block a user