diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml new file mode 100644 index 0000000000..126f959358 --- /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/Repofile b/Repofile new file mode 100644 index 0000000000..330072c5b7 --- /dev/null +++ b/Repofile @@ -0,0 +1,9 @@ +{ + "checks": ["build"], + "maintainers": [ + "Developer productivity" + ], + "topics": [ + "github-action" + ] +} \ No newline at end of file diff --git a/catalog-info.yml b/catalog-info.yml new file mode 100644 index 0000000000..e2d2489eac --- /dev/null +++ b/catalog-info.yml @@ -0,0 +1,15 @@ +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: create-pull-request + description: | + A GitHub action to create a pull request for changes to your repository in the actions workspace + annotations: + github.com/project-slug: Tradeshift/create-pull-request + tags: + - nodejs + - github-action +spec: + type: other + lifecycle: production + owner: sre diff --git a/package-lock.json b/package-lock.json index 860c37afb5..31834e7ff7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@octokit/plugin-rest-endpoint-methods": "^13.5.0", "@octokit/plugin-throttling": "^9.6.1", "node-fetch-native": "^1.6.7", - "p-limit": "^6.2.0", + "p-limit": "^7.0.0", "uuid": "^9.0.1" }, "devDependencies": { @@ -7030,14 +7030,15 @@ } }, "node_modules/p-limit": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-6.2.0.tgz", - "integrity": "sha512-kuUqqHNUqoIWp/c467RI4X6mmyuojY5jGutNU0wVTmEOOfcuwLqyMVoAi9MKi2Ak+5i9+nhmrK4ufZE8069kHA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-7.0.0.tgz", + "integrity": "sha512-WeCdPG5OjujcMWjSkOS0kt3bo+LmroXLmOnJ4SPhZfz5pffQxDUNcYscbZgyGwKf9r9z7gRfKjDNno5cZyQAZQ==", + "license": "MIT", "dependencies": { - "yocto-queue": "^1.1.1" + "yocto-queue": "^1.2.1" }, "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -8968,9 +8969,10 @@ } }, "node_modules/yocto-queue": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.1.1.tgz", - "integrity": "sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.1.tgz", + "integrity": "sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==", + "license": "MIT", "engines": { "node": ">=12.20" }, diff --git a/package.json b/package.json index 42d98e5f21..2eaee2437c 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@octokit/plugin-rest-endpoint-methods": "^13.5.0", "@octokit/plugin-throttling": "^9.6.1", "node-fetch-native": "^1.6.7", - "p-limit": "^6.2.0", + "p-limit": "^7.0.0", "uuid": "^9.0.1" }, "devDependencies": {