From 1155c36e7e561846b8d2e22769e9df8cd7c6f75f Mon Sep 17 00:00:00 2001 From: Jesper Terkelsen Date: Mon, 19 Sep 2022 12:59:02 +0200 Subject: [PATCH] feat: mark team ownership in Tradeshift - mark team ownership in tradeshift - setup rebase automation --- .github/workflows/rebase.yml | 21 +++++++++++++++++++++ catalog-info.yml | 16 ++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .github/workflows/rebase.yml create mode 100644 catalog-info.yml diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml new file mode 100644 index 00000000..126f9593 --- /dev/null +++ b/.github/workflows/rebase.yml @@ -0,0 +1,21 @@ +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 }} + - 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: + branch: main diff --git a/catalog-info.yml b/catalog-info.yml new file mode 100644 index 00000000..f8054b85 --- /dev/null +++ b/catalog-info.yml @@ -0,0 +1,16 @@ +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: actions-create-or-update-comment + description: | + A GitHub action to create or update an issue or pull request comment + annotations: + github.com/project-slug: Tradeshift/actions-create-or-update-comment + tags: + - github-action + - nodejs + - fork +spec: + type: library + owner: developer-productivity + lifecycle: production