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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4654e0d8c8444ded245bd4960a0897b7ec961ac6329751ae545cefbf907adbd2
4
- data.tar.gz: c7b5677df462576bd56bc82f3114052cbd136afba270effcf19427d8621b5e9f
3
+ metadata.gz: b6ab801f8c2ec50887f574cd31ff918dc078b2a3d2a6b733da4d758c4bc9dc9b
4
+ data.tar.gz: 2b1ea4a322bbf350a0037731c4f9288c05a721a8c2e3b96f50bbeb7ab5fe6e5d
5
5
  SHA512:
6
- metadata.gz: 01cd7fd00cacc1e8e150294fcdd43abc35261fe2da6e82138e5cc6a335d3503120df25ce0728888bd30cbabae39cd0c81df1c427a7c0b681ef2b4c97f2b8f5e3
7
- data.tar.gz: aed4baf70fad953b9c6fdf6a851e5c1cb0dc6f501f115b9676771b7c82967fd1c40776b36635805961e24ce37896c128436939f80be9ac6acbcb930afa1d6652
6
+ metadata.gz: ceabc84d0fb8a6ff14355946086eb3139382ee855d761038378713db056cf2ea99ea32c1cd37f9edb85dd3da3032aad3da1dd198d78768fb8145d758b3016580
7
+ data.tar.gz: cf939b1b461cedd5fca2470e556d2e183fa635db030698c86c0cbf784f669ba4f79fa92115de740423bc432b3c6081bd6ffb3318fd5d1ca1bc7af0a32a2d78af
@@ -0,0 +1,2 @@
1
+ # Managed by https://github.com/powerhome/software. Do not make changes here, they will be reverted.
2
+ * @powerhome/heroes-for-hire
@@ -7,10 +7,16 @@ updates:
7
7
  time: "20:00"
8
8
  timezone: America/Los_Angeles
9
9
  open-pull-requests-limit: 10
10
- - package-ecosystem: docker
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
@@ -8,6 +8,7 @@ jobs:
8
8
  uses: powerhome/github-actions-workflows/.github/workflows/ruby-gem.yml@main
9
9
  with:
10
10
  package: ${{ github.workflow }}
11
+ release-tag: false
11
12
  ruby: '["3.3"]'
12
13
  before_build: .github/workflows/install-test-tools.sh
13
14
  secrets: inherit
@@ -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
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.2.1"
3
+ }
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.6.0
2
+ TargetRubyVersion: 3.0
3
3
  Exclude:
4
4
  - 'lib/license_patrol/reports/**/*'
5
5
  - 'features/fixtures/**/*'