Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 6 additions & 26 deletions .github/workflows/contributors-png.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,16 @@ on:
paths:
- '.all-contributorsrc'

permissions:
contents: read

jobs:
genimage:
if: github.ref == 'refs/heads/main' && github.repository == 'processing/processing4'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm install canvas

- name: Run contributors-png generator
run: node utils/contributors-png.js

- name: Reset all changes except contributors.png
run: |
git restore --staged .
git add contributors.png
git checkout -- .

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
- name: Generate contributors image and open PR
uses: processing/all-contributors-image@cfb102304bd496071b6003be0bea2ac0b89b4e3a # v0.1.0
with:
commit-message: "Update contributors.png from .all-contributorsrc"
branch: update-contributors-png
title: "chore: update contributors.png from .all-contributorsrc"
body: "This PR updates the contributors.png to reflect changes in .all-contributorsrc"
add-paths: contributors.png
token: ${{ secrets.CONTRIBUTOR_PNG_ACCESS_TOKEN }}
base-branch: main
61 changes: 0 additions & 61 deletions utils/contributors-png.js

This file was deleted.

Loading