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 3b10924279925947751b4a9c1fd617c49f4f3763 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 10:09:45 +0000 Subject: [PATCH 6/6] chore(deps): bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 4 ++-- .github/workflows/commitlint.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16d9d314..ef4e9e4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: name: Sanity Checks runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: '16.5.0' @@ -35,7 +35,7 @@ jobs: env: DOCKER_REGISTRY_URL: registry.hub.docker.com steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: '16.5.0' diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 9555ac43..a6efde77 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -5,7 +5,7 @@ jobs: commitlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml - run: echo -n '' > .dockerignore - uses: actions/setup-node@v3 @@ -30,7 +30,7 @@ jobs: commitlint-pulling-from-docker-hub: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: '16.5.0'