From d5a534116279b6e488e523bdafb17c42e23337f1 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 3ffd4ce09d65f1f0acf1a690dc982fcf166b592e 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 be2990a5d594bf890e4cce95ea950500c9ea25e5 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 46e2d5b9898f43fb7979b99ca110caa14f01ea4b 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 362d46d467d3712c0a3ba8a8a42165e147d3735f 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 7f55033ca27e14b85367d7bf15231d4fc96d8c8a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Jun 2023 11:03:45 +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 6.1.0. - [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-v6.1.0) --- 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 4bc8f12a..fbcebc89 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": "^6.1.0", "conventional-changelog-lint-config-canonical": "^1.0.0", "dargs": "^8.1.0", "execa": "^5.1.1", @@ -6161,16 +6161,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": "6.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-6.1.0.tgz", + "integrity": "sha512-3cS3GEtR78zTfMzk0AizXKKIdN4OvSh7ibNz6/DPbhWWQu7LqE/8+/GqSodV+sywUR2gpJAdP/1JFf4XtN7Zpw==", "dependencies": { - "compare-func": "^2.0.0", - "lodash": "^4.17.15", - "q": "^1.5.1" + "compare-func": "^2.0.0" }, "engines": { - "node": ">=10" + "node": ">=14" } }, "node_modules/conventional-changelog-core": { @@ -6301,6 +6299,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", @@ -19898,6 +19910,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": { @@ -19947,13 +19972,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": "6.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-6.1.0.tgz", + "integrity": "sha512-3cS3GEtR78zTfMzk0AizXKKIdN4OvSh7ibNz6/DPbhWWQu7LqE/8+/GqSodV+sywUR2gpJAdP/1JFf4XtN7Zpw==", "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 b9c7897c..ca71ef07 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": "^6.1.0", "conventional-changelog-lint-config-canonical": "^1.0.0", "dargs": "^8.1.0", "execa": "^5.1.1",