-
-
Notifications
You must be signed in to change notification settings - Fork 46
29 lines (25 loc) · 890 Bytes
/
ci-package-manager.yml
File metadata and controls
29 lines (25 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: ci-package-manager
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
ci-package-manager:
# Skip on Release Please PRs and when that PR is merged to main.
# https://github.com/eslint/rewrite/issues/366
if: >-
!(github.event_name == 'pull_request' && github.event.pull_request.user.login == 'eslintbot' && contains(github.event.pull_request.title, 'chore: release'))
&& !(
github.event_name == 'push'
&& github.ref_name == 'main'
&& (
contains(github.event.head_commit.message, 'chore: release')
&& github.event.head_commit.author.username == 'eslintbot'
)
)
uses: eslint/workflows/.github/workflows/ci-package-manager.yml@main