diff --git a/.github/workflows/generate-contributors.yml b/.github/workflows/generate-contributors.yml deleted file mode 100644 index f04ff684ecc..00000000000 --- a/.github/workflows/generate-contributors.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: "Generate contributors" - -on: - schedule: - - cron: "0 0 1 * *" - -env: - PRIMARY_NODE_VERSION: 16 - -jobs: - generate-contributors: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Get typescript-eslint Github app token - id: get_token - uses: getsentry/action-github-app-token@38a3ce582e170ddfe8789f509597c6944f2292a9 - with: - private_key: ${{ secrets.GH_APP_PEM }} - app_id: ${{ secrets.GH_APP_ID }} - - - name: Use Node.js ${{ env.PRIMARY_NODE_VERSION }} - uses: actions/setup-node@v3 - with: - node-version: ${{ env.PRIMARY_NODE_VERSION }} - - - name: Get yarn cache directory path and node version for cache key - id: yarn-cache-dir-path - run: | - echo "::set-output name=dir::$(yarn cache dir)" - echo "::set-output name=node_version::$(node --version)" - - - uses: actions/cache@v3 - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-node-${{ steps.yarn-cache-dir-path.outputs.node_version }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-node-${{ steps.yarn-cache-dir-path.outputs.node_version }}-yarn- - - - name: Install dependencies - run: | - yarn --ignore-engines --frozen-lockfile --ignore-scripts - - - name: Generate contributors - run: yarn generate-contributors - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v4 - with: - token: ${{ steps.get_token.outputs.token }} - commit-message: "chore: update contributors" - title: "chore: update contributors" - body: "" - branch: auto-update-contributors - committer: typescript-eslint[bot] - author: typescript-eslint[bot] diff --git a/.github/workflows/update-sponsors.yml b/.github/workflows/update-sponsors.yml deleted file mode 100644 index 148335ced8c..00000000000 --- a/.github/workflows/update-sponsors.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: Update Sponsors Data - -on: - schedule: - - cron: "0 0 * * 1" - -env: - PRIMARY_NODE_VERSION: 16 - -jobs: - build: - name: Commit if needed - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Use Node.js ${{ env.PRIMARY_NODE_VERSION }} - uses: actions/setup-node@v3 - with: - node-version: ${{ env.PRIMARY_NODE_VERSION }} - - - name: Get yarn cache directory path and node version for cache key - id: yarn-cache-dir-path - run: | - echo "::set-output name=dir::$(yarn cache dir)" - echo "::set-output name=node_version::$(node --version)" - - - uses: actions/cache@v3 - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-node-${{ steps.yarn-cache-dir-path.outputs.node_version }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-node-${{ steps.yarn-cache-dir-path.outputs.node_version }}-yarn- - - - name: Install dependencies - run: | - yarn --ignore-engines --frozen-lockfile --ignore-scripts - - - name: Get typescript-eslint Github app token - id: get_token - uses: getsentry/action-github-app-token@38a3ce582e170ddfe8789f509597c6944f2292a9 - with: - private_key: ${{ secrets.GH_APP_PEM }} - app_id: ${{ secrets.GH_APP_ID }} - - - name: Generate sponsors - run: yarn generate-sponsors - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v4 - with: - token: ${{ steps.get_token.outputs.token }} - commit-message: "chore: update sponsors" - title: "chore: update sponsors" - body: "💸" - branch: auto-update-sponsors - committer: typescript-eslint[bot] - author: typescript-eslint[bot]