From 69d3a3f63957d1c8d1bcfa0507c2728204c7a274 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sun, 16 Apr 2023 20:21:45 +1000 Subject: [PATCH] Remove generate-contributors workflow for now --- .github/workflows/generate-contributors.yml | 49 --------------------- 1 file changed, 49 deletions(-) delete mode 100644 .github/workflows/generate-contributors.yml diff --git a/.github/workflows/generate-contributors.yml b/.github/workflows/generate-contributors.yml deleted file mode 100644 index e38cdc398..000000000 --- a/.github/workflows/generate-contributors.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: update-contributors-svg - -on: - workflow_dispatch: # Can trigger manually - schedule: - - cron: '0 7 * * *' # Schedule on everyday 7:00 - -jobs: - update-svg: - name: Update contributors SVG - runs-on: ubuntu-latest # You can also try macos-latest - steps: - - uses: actions/checkout@v3 - - - name: Set node - uses: actions/setup-node@v3 - with: - node-version: lts/* - - - name: Install pnpm - uses: pnpm/action-setup@v2.2.2 - with: - version: 7 - - - name: Run SVG generation script - run: pnpx make-github-contributor-svg -t ${{ secrets.GITHUB_TOKEN }} -o wailsapp -r wails - - - name: Move svg - run: mv .github-contributors/*.svg website/static/img/ - - - name: Commit - uses: EndBug/add-and-commit@v9 - with: - message: "chore(workflow): update contributors image" - add: "website/static/img/*" - new_branch: "chore/update-contributors-svg" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "chore(workflow): update contributors image" - title: "chore(workflow): update contributors image" - body: "This PR was automatically generated by a GitHub workflow" - branch: chore/update-contributors-svg - base: master - labels: "chore, workflow"