diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml new file mode 100644 index 00000000..90b60598 --- /dev/null +++ b/.github/workflows/rebase.yml @@ -0,0 +1,23 @@ +# .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 }} + - 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: / + # branch: master 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" + ] +} diff --git a/catalog-info.yml b/catalog-info.yml new file mode 100644 index 00000000..07118822 --- /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: sre + lifecycle: production 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" } }