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 4ab324d5e564391bc88e7bd7acf400ba5c81e026 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 11:01:38 +0000 Subject: [PATCH 6/6] chore(deps-dev): bump yaml from 2.1.3 to 2.3.1 Bumps [yaml](https://github.com/eemeli/yaml) from 2.1.3 to 2.3.1. - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](https://github.com/eemeli/yaml/compare/v2.1.3...v2.3.1) --- updated-dependencies: - dependency-name: yaml dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4bc8f12a..58709809 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,7 +54,7 @@ "prettier": "^2.8.4", "rollup": "^2.79.1", "testdouble": "^3.16.8", - "yaml": "^2.1.3" + "yaml": "^2.3.1" }, "engines": { "node": "^v16.14.2" @@ -15231,9 +15231,9 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/yaml": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.1.3.tgz", - "integrity": "sha512-AacA8nRULjKMX2DvWvOAdBZMOfQlypSFkjcOcu9FalllIDJ1kvlREzcdIZmidQUqqeMv7jorHjq2HlLv/+c2lg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz", + "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==", "dev": true, "engines": { "node": ">= 14" @@ -26747,9 +26747,9 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "yaml": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.1.3.tgz", - "integrity": "sha512-AacA8nRULjKMX2DvWvOAdBZMOfQlypSFkjcOcu9FalllIDJ1kvlREzcdIZmidQUqqeMv7jorHjq2HlLv/+c2lg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz", + "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==", "dev": true }, "yargs": { diff --git a/package.json b/package.json index b9c7897c..3debc141 100644 --- a/package.json +++ b/package.json @@ -67,6 +67,6 @@ "prettier": "^2.8.4", "rollup": "^2.79.1", "testdouble": "^3.16.8", - "yaml": "^2.1.3" + "yaml": "^2.3.1" } }