Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ed343d

Browse files
committed
Fix triggers in licensed.yml
1 parent a7abfdf commit 5ed343d

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/licensed.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,23 @@ name: Licensed
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
67
pull_request:
7-
branches: [main]
8-
repository_dispatch:
9-
workflow_dispatch:
8+
branches:
9+
- main
1010

1111
jobs:
1212
test:
1313
runs-on: ubuntu-latest
1414
name: Check licenses
1515
steps:
1616
- uses: actions/checkout@v2
17-
- uses: actions/cache@v2
18-
with:
19-
path: ~/.npm
20-
key: ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
21-
restore-keys: ${{runner.os}}-npm-
2217
- run: npm ci
2318
- name: Install licensed
24-
run: |-
19+
run: |
2520
cd $RUNNER_TEMP
26-
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.9.2/licensed-2.9.2-linux-x64.tar.gz
21+
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
2722
sudo tar -xzf licensed.tar.gz
2823
sudo mv licensed /usr/local/bin/licensed
2924
- run: licensed status

0 commit comments

Comments
 (0)