license_patrol 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +2 -0
- data/.github/dependabot.yml +7 -1
- data/.github/workflows/license_patrol.yml +1 -0
- data/.github/workflows/pr-title.yml +21 -0
- data/.github/workflows/release-please.yml +42 -0
- data/.github/workflows/stale.yml +35 -0
- data/.release-please-manifest.json +3 -0
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +121 -99
- data/CONTRIBUTING.md +1 -1
- data/README.md +2 -2
- data/lib/license_patrol/license/text.rb +13 -13
- data/lib/license_patrol/package_managers/go_workspace.rb +1 -1
- data/lib/license_patrol/package_managers/yarn.rb +75 -60
- data/lib/license_patrol/package_utils/license_files.rb +1 -1
- data/lib/license_patrol/package_utils/notice_files.rb +2 -2
- data/lib/license_patrol/packages/pip_package.rb +1 -1
- data/lib/license_patrol/version.rb +1 -2
- data/license_patrol.gemspec +4 -4
- data/release/instructions.md +58 -6
- data/release-please-config.json +25 -0
- metadata +12 -7
- data/VERSION +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6ab801f8c2ec50887f574cd31ff918dc078b2a3d2a6b733da4d758c4bc9dc9b
|
|
4
|
+
data.tar.gz: 2b1ea4a322bbf350a0037731c4f9288c05a721a8c2e3b96f50bbeb7ab5fe6e5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ceabc84d0fb8a6ff14355946086eb3139382ee855d761038378713db056cf2ea99ea32c1cd37f9edb85dd3da3032aad3da1dd198d78768fb8145d758b3016580
|
|
7
|
+
data.tar.gz: cf939b1b461cedd5fca2470e556d2e183fa635db030698c86c0cbf784f669ba4f79fa92115de740423bc432b3c6081bd6ffb3318fd5d1ca1bc7af0a32a2d78af
|
data/.github/CODEOWNERS
ADDED
data/.github/dependabot.yml
CHANGED
|
@@ -7,10 +7,16 @@ updates:
|
|
|
7
7
|
time: "20:00"
|
|
8
8
|
timezone: America/Los_Angeles
|
|
9
9
|
open-pull-requests-limit: 10
|
|
10
|
-
-
|
|
10
|
+
commit-message:
|
|
11
|
+
prefix: chore
|
|
12
|
+
include: scope
|
|
13
|
+
- package-ecosystem: docker
|
|
11
14
|
directory: "/"
|
|
12
15
|
schedule:
|
|
13
16
|
interval: daily
|
|
14
17
|
time: "20:00"
|
|
15
18
|
timezone: America/Los_Angeles
|
|
16
19
|
open-pull-requests-limit: 10
|
|
20
|
+
commit-message:
|
|
21
|
+
prefix: chore
|
|
22
|
+
include: scope
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Managed by https://github.com/powerhome/software. Do not make changes here, they will be reverted.
|
|
2
|
+
|
|
3
|
+
name: PR title
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
pull_request:
|
|
7
|
+
types: [opened, edited, synchronize, reopened]
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
pull-requests: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
pr-title:
|
|
14
|
+
name: Conventional Commit title
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
# The repository squash-merges with the PR title as the commit subject,
|
|
18
|
+
# so the title is what has to be a Conventional Commit.
|
|
19
|
+
- uses: amannn/action-semantic-pull-request@2252a14e810aa9b85c2d560bd7070c802206ecf6 # v6.1.2
|
|
20
|
+
env:
|
|
21
|
+
GITHUB_TOKEN: ${{ github.token }}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: release-please
|
|
2
|
+
|
|
3
|
+
# Keeps a release pull request open against master that bumps the gem to the
|
|
4
|
+
# next version, pins it in Gemfile.lock and adds it to CHANGELOG.md, worked out
|
|
5
|
+
# from the Conventional Commit titles merged since the last release. Merging
|
|
6
|
+
# that pull request tags the release vX.Y.Z and creates its GitHub Release, and
|
|
7
|
+
# the tag's push publishes the gem. See release/instructions.md.
|
|
8
|
+
#
|
|
9
|
+
# It runs as the release GitHub App, not GITHUB_TOKEN: a pull request or tag
|
|
10
|
+
# GITHUB_TOKEN creates starts no workflows, so the release pull request would
|
|
11
|
+
# never get its required checks and the tag would never publish the gem. The
|
|
12
|
+
# App's key is in the release environment, which only master can deploy to, so
|
|
13
|
+
# no run from another branch or a tag can read it.
|
|
14
|
+
|
|
15
|
+
on:
|
|
16
|
+
push:
|
|
17
|
+
branches: [master]
|
|
18
|
+
|
|
19
|
+
permissions: {}
|
|
20
|
+
|
|
21
|
+
concurrency:
|
|
22
|
+
group: ${{ github.workflow }}
|
|
23
|
+
cancel-in-progress: false
|
|
24
|
+
|
|
25
|
+
jobs:
|
|
26
|
+
release-please:
|
|
27
|
+
name: Release pull request
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
environment: release
|
|
30
|
+
steps:
|
|
31
|
+
- name: Create GitHub App token
|
|
32
|
+
id: app-token
|
|
33
|
+
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
|
|
34
|
+
with:
|
|
35
|
+
client-id: ${{ vars.RELEASE_APP_CLIENT_ID }}
|
|
36
|
+
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
|
|
37
|
+
permission-contents: write
|
|
38
|
+
permission-pull-requests: write
|
|
39
|
+
- name: Open or update the release pull request, or tag a merged one
|
|
40
|
+
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
|
|
41
|
+
with:
|
|
42
|
+
token: ${{ steps.app-token.outputs.token }}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Managed by https://github.com/powerhome/software. Do not make changes here, they will be reverted.
|
|
2
|
+
|
|
3
|
+
name: 'Close stale issues and PRs'
|
|
4
|
+
on:
|
|
5
|
+
workflow_dispatch:
|
|
6
|
+
schedule:
|
|
7
|
+
- cron: '37 21 * * *'
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
stale:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
|
|
14
|
+
with:
|
|
15
|
+
operations-per-run: 200
|
|
16
|
+
delete-branch: true
|
|
17
|
+
stale-pr-message: >
|
|
18
|
+
This issue has been automatically marked as stale because it has not had
|
|
19
|
+
recent activity. It will be closed in 24 hours if no further activity occurs.
|
|
20
|
+
|
|
21
|
+
If this change is desirable, please accelerate completing it. If it is not,
|
|
22
|
+
please close the PR. If you're blocked on something, please ensure there's
|
|
23
|
+
a reference to this PR in a story on your team's board so the team will
|
|
24
|
+
follow up, and consider closing the PR for now.
|
|
25
|
+
|
|
26
|
+
Please do not artificially extend the deadline with a dummy comment. If
|
|
27
|
+
necessary, provide a status update, such as "this change is being actively
|
|
28
|
+
tested".
|
|
29
|
+
|
|
30
|
+
Thank you for your contributions and your collaboration in reducing WIP
|
|
31
|
+
and cycle time.
|
|
32
|
+
days-before-stale: 14
|
|
33
|
+
days-before-close: 3
|
|
34
|
+
days-before-issue-stale: -1
|
|
35
|
+
exempt-pr-labels: dependencies
|
data/.rubocop.yml
CHANGED