diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml new file mode 100644 index 0000000..126f959 --- /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 0000000..26e1c6a --- /dev/null +++ b/catalog-info.yml @@ -0,0 +1,16 @@ +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: actions-find-comment + description: | + A GitHub action to find an issue or pull request comment + annotations: + github.com/project-slug: Tradeshift/actions-find-comment + tags: + - github-action + - nodejs + - fork +spec: + type: library + owner: sre + lifecycle: production diff --git a/package-lock.json b/package-lock.json index 008c966..fa585f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "eslint": "^8.57.1", "eslint-plugin-github": "^4.10.2", "eslint-plugin-jest": "^27.9.0", - "eslint-plugin-prettier": "^5.2.1", + "eslint-plugin-prettier": "^5.2.2", "jest": "^27.5.1", "jest-circus": "^27.4.2", "js-yaml": "^4.1.0", @@ -3462,10 +3462,11 @@ } }, "node_modules/eslint-plugin-prettier": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz", - "integrity": "sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.2.tgz", + "integrity": "sha512-1yI3/hf35wmlq66C8yOyrujQnel+v5l1Vop5Cl2I6ylyNTT1JbuUUnV3/41PzwTzcyDp/oF0jWE3HXvcH5AQOQ==", "dev": true, + "license": "MIT", "dependencies": { "prettier-linter-helpers": "^1.0.0", "synckit": "^0.9.1" diff --git a/package.json b/package.json index 97f7b0f..244e8d5 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "eslint": "^8.57.1", "eslint-plugin-github": "^4.10.2", "eslint-plugin-jest": "^27.9.0", - "eslint-plugin-prettier": "^5.2.1", + "eslint-plugin-prettier": "^5.2.2", "jest": "^27.5.1", "jest-circus": "^27.4.2", "js-yaml": "^4.1.0",