From 2d2f363050378c2716278538013a79c893d8a6e2 Mon Sep 17 00:00:00 2001 From: Celio Ferreira Date: Thu, 12 May 2022 10:15:22 +0200 Subject: [PATCH 1/6] chore: add catalog-info.yml --- catalog-info.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 catalog-info.yml diff --git a/catalog-info.yml b/catalog-info.yml new file mode 100644 index 00000000..70941b5c --- /dev/null +++ b/catalog-info.yml @@ -0,0 +1,16 @@ +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: commitlint-github-action + description: | + Lints Pull Request commits with commitlint. + annotations: + github.com/project-slug: Tradeshift/commitlint-github-action + tags: + - github-action + - nodejs + - fork +spec: + type: library + owner: developer-productivity + lifecycle: production From 5be825780a7911809bc5cfd0b0a7f37f23c12300 Mon Sep 17 00:00:00 2001 From: Jesper Terkelsen Date: Fri, 24 Jun 2022 13:09:07 +0200 Subject: [PATCH 2/6] chore: add Repofile --- Repofile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Repofile diff --git a/Repofile b/Repofile new file mode 100644 index 00000000..89f0b9ee --- /dev/null +++ b/Repofile @@ -0,0 +1,8 @@ +{ + "maintainers": [ + "Developer productivity" + ], + "checks": [ + "commitlint" + ] +} From a73a42c2ca837faecc2d1318cd3b24ac113df374 Mon Sep 17 00:00:00 2001 From: Jesper Terkelsen Date: Fri, 24 Jun 2022 12:36:54 +0200 Subject: [PATCH 3/6] chore: setup rebase automation Motivation: we want to get upstream changes automatically because they usually fix vulnerabilities --- .github/workflows/rebase.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/rebase.yml diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml new file mode 100644 index 00000000..ec3b99c9 --- /dev/null +++ b/.github/workflows/rebase.yml @@ -0,0 +1,19 @@ +# .github/workflows/sync.yml +name: Rebase Upstream +on: + schedule: + - cron: "0 0 * * 0" # run once a week + workflow_dispatch: # run manually + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + with: + fetch-depth: 0 # fetching all history so i can rebase + token: ${{ secrets.GH_TOKEN }} + - uses: tradeshift/rebase-upstream-action@master + # with: # all args are optional + # upstream: / + # branch: master From 1d56a1955a23eb3b3ef1f391f763555173ad9e65 Mon Sep 17 00:00:00 2001 From: Jesper Terkelsen Date: Mon, 27 Jun 2022 13:09:42 +0200 Subject: [PATCH 4/6] chore: setup commit signing when rebasing --- .github/workflows/rebase.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index ec3b99c9..90b60598 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -13,6 +13,10 @@ jobs: with: fetch-depth: 0 # fetching all history so i can rebase token: ${{ secrets.GH_TOKEN }} + - name: Configure git for tradeshiftci + uses: tradeshift/actions-git/configure-from-gpg-key@v1 + with: + gpg-key: ${{ secrets.TRADESHIFTCI_GPG_KEY }} - uses: tradeshift/rebase-upstream-action@master # with: # all args are optional # upstream: / From 98e03c39a519843d6718cb640f4a726eced6db54 Mon Sep 17 00:00:00 2001 From: Celio <52396658+celiogafesi@users.noreply.github.com> Date: Wed, 8 Mar 2023 15:25:32 +0100 Subject: [PATCH 5/6] chore: change ownership --- catalog-info.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog-info.yml b/catalog-info.yml index 70941b5c..07118822 100644 --- a/catalog-info.yml +++ b/catalog-info.yml @@ -12,5 +12,5 @@ metadata: - fork spec: type: library - owner: developer-productivity + owner: sre lifecycle: production From 7cf118d27a8e8fd203f3f4501a4df3e6f548ccea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 10:07:42 +0000 Subject: [PATCH 6/6] chore(deps): bump conventional-changelog-conventionalcommits Bumps [conventional-changelog-conventionalcommits](https://github.com/conventional-changelog/conventional-changelog) from 4.6.3 to 7.0.2. - [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases) - [Changelog](https://github.com/conventional-changelog/conventional-changelog/blob/master/.release-please-manifest.json) - [Commits](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-conventionalcommits-v4.6.3...conventional-changelog-conventionalcommits-v7.0.2) --- updated-dependencies: - dependency-name: conventional-changelog-conventionalcommits dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 51 ++++++++++++++++++++++++++++++++++------------- package.json | 2 +- 2 files changed, 38 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 421ee22b..e1bc91fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "commitlint-config-jira": "^1.6.4", "commitlint-plugin-function-rules": "^1.7.1", "commitlint-plugin-jira-rules": "^1.6.4", - "conventional-changelog-conventionalcommits": "^4.6.3", + "conventional-changelog-conventionalcommits": "^7.0.2", "conventional-changelog-lint-config-canonical": "^1.0.0", "dargs": "^8.1.0", "lerna": "^5.1.4" @@ -6160,16 +6160,14 @@ "dev": true }, "node_modules/conventional-changelog-conventionalcommits": { - "version": "4.6.3", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz", - "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz", + "integrity": "sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==", "dependencies": { - "compare-func": "^2.0.0", - "lodash": "^4.17.15", - "q": "^1.5.1" + "compare-func": "^2.0.0" }, "engines": { - "node": ">=10" + "node": ">=16" } }, "node_modules/conventional-changelog-core": { @@ -6300,6 +6298,20 @@ "semver": "bin/semver.js" } }, + "node_modules/conventional-changelog/node_modules/conventional-changelog-conventionalcommits": { + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz", + "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", + "dev": true, + "dependencies": { + "compare-func": "^2.0.0", + "lodash": "^4.17.15", + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/conventional-commits-filter": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", @@ -19897,6 +19909,19 @@ "conventional-changelog-jquery": "^3.0.11", "conventional-changelog-jshint": "^2.0.9", "conventional-changelog-preset-loader": "^2.3.4" + }, + "dependencies": { + "conventional-changelog-conventionalcommits": { + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz", + "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", + "dev": true, + "requires": { + "compare-func": "^2.0.0", + "lodash": "^4.17.15", + "q": "^1.5.1" + } + } } }, "conventional-changelog-angular": { @@ -19946,13 +19971,11 @@ "dev": true }, "conventional-changelog-conventionalcommits": { - "version": "4.6.3", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz", - "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz", + "integrity": "sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==", "requires": { - "compare-func": "^2.0.0", - "lodash": "^4.17.15", - "q": "^1.5.1" + "compare-func": "^2.0.0" } }, "conventional-changelog-core": { diff --git a/package.json b/package.json index 5f50d043..d81048be 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "commitlint-config-jira": "^1.6.4", "commitlint-plugin-function-rules": "^1.7.1", "commitlint-plugin-jira-rules": "^1.6.4", - "conventional-changelog-conventionalcommits": "^4.6.3", + "conventional-changelog-conventionalcommits": "^7.0.2", "conventional-changelog-lint-config-canonical": "^1.0.0", "dargs": "^8.1.0", "lerna": "^5.1.4"