-
Notifications
You must be signed in to change notification settings - Fork 53
Add contributor acknowledgement system #354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kraftbj
wants to merge
7
commits into
trunk
Choose a base branch
from
feature/contributor-acknowledgement-system
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
853f886
Add contributor acknowledgement system
kraftbj 8d2b7b6
Backfill initial contributor data
kraftbj d5e7a6b
revert: Undo unneeded changes to props-bot.yml
kraftbj 63213a0
Add props-bot validation to contributor backfill
kraftbj 9cda0a6
chore: Update contributor commit counts
kraftbj 3a39a83
refactor: Remove contribution_counts field
kraftbj 9d66f56
fix: Address CI failures and add incremental props-bot validation
kraftbj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| name: Update Contributors | ||
|
|
||
| on: | ||
| # Manual trigger for release process | ||
| workflow_dispatch: | ||
| inputs: | ||
| update_output_files: | ||
| description: 'Update output files (readme.txt, CONTRIBUTORS.md, docs page)' | ||
| required: false | ||
| default: 'true' | ||
| type: choice | ||
| options: | ||
| - 'true' | ||
| - 'false' | ||
|
|
||
| # Disable permissions for all available scopes by default | ||
| # Any needed permissions should be configured at the job level | ||
| permissions: {} | ||
|
|
||
| jobs: | ||
| # This job runs manually during release process to update contributor data and output files | ||
| update-contributor-list: | ||
| name: Update contributor list | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| persist-credentials: true | ||
|
|
||
| - name: Setup PHP | ||
| uses: shivammathur/setup-php@v2 | ||
| with: | ||
| php-version: '8.4' | ||
| tools: composer:v2 | ||
|
|
||
| - name: Install dependencies | ||
| run: composer install --no-progress --prefer-dist --no-interaction | ||
|
|
||
| - name: Run contributor backfill | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: | | ||
| if [ "${{ inputs.update_output_files }}" = "true" ]; then | ||
| php bin/backfill-contributors.php | ||
| else | ||
| php bin/backfill-contributors.php --skip-output | ||
| fi | ||
|
|
||
| - name: Check for changes | ||
| id: check-changes | ||
| run: | | ||
| if ! git diff --quiet -- contributors.json readme.txt CONTRIBUTORS.md docs/contributing/contributors.md 2>/dev/null; then | ||
| echo "changes=true" >> $GITHUB_OUTPUT | ||
| else | ||
| echo "changes=false" >> $GITHUB_OUTPUT | ||
| fi | ||
|
|
||
| - name: Commit and push changes | ||
| if: steps.check-changes.outputs.changes == 'true' | ||
| run: | | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
| git add contributors.json readme.txt CONTRIBUTORS.md docs/contributing/contributors.md | ||
kraftbj marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| git commit -m "Update contributor list" | ||
| git push | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Contributors | ||
|
|
||
| Thank you to all the contributors who have helped make Secure Custom Fields better. | ||
|
|
||
| This file is automatically generated from the contributor acknowledgement system. | ||
| Contributors are recognized for their commits, code reviews, issue reports, and comments. | ||
|
|
||
| | WordPress.org Username | GitHub Username | Display Name | | ||
| | ---------------------- | --------------- | ------------ | | ||
| | [@bernhard-reiter](https://profiles.wordpress.org/bernhard-reiter) | [@ockham](https://github.com/ockham) | | | ||
| | [@bjorsch](https://profiles.wordpress.org/bjorsch) | [@anomiex](https://github.com/anomiex) | | | ||
| | [@cbravobernal](https://profiles.wordpress.org/cbravobernal) | [@cbravobernal](https://github.com/cbravobernal) | | | ||
| | [@gziolo](https://profiles.wordpress.org/gziolo) | [@gziolo](https://github.com/gziolo) | | | ||
| | [@haseebnawaz298](https://profiles.wordpress.org/haseebnawaz298) | [@haseebnawaz298](https://github.com/haseebnawaz298) | | | ||
| | [@jacobodonnell](https://profiles.wordpress.org/jacobodonnell) | [@jacobodonnell](https://github.com/jacobodonnell) | | | ||
| | [@jamieburchell](https://profiles.wordpress.org/jamieburchell) | [@jamieburchell](https://github.com/jamieburchell) | | | ||
| | [@kraftbj](https://profiles.wordpress.org/kraftbj) | [@kraftbj](https://github.com/kraftbj) | | | ||
| | [@mcsf](https://profiles.wordpress.org/mcsf) | [@mcsf](https://github.com/mcsf) | | | ||
| | [@mr2p](https://profiles.wordpress.org/mr2p) | [@Mr2P](https://github.com/Mr2P) | | | ||
| | [@paulkevan](https://profiles.wordpress.org/paulkevan) | [@pkevan](https://github.com/pkevan) | | | ||
| | [@priethor](https://profiles.wordpress.org/priethor) | [@priethor](https://github.com/priethor) | | | ||
| | [@racmanuel](https://profiles.wordpress.org/racmanuel) | [@racmanuel](https://github.com/racmanuel) | | | ||
| | [@trajche](https://profiles.wordpress.org/trajche) | [@trajche](https://github.com/trajche) | | | ||
| | [@yanmetelitsa](https://profiles.wordpress.org/yanmetelitsa) | [@YanMetelitsa](https://github.com/YanMetelitsa) | | | ||
| | [@youknowriad](https://profiles.wordpress.org/youknowriad) | [@youknowriad](https://github.com/youknowriad) | | | ||
| | | [@cyberwani](https://github.com/cyberwani) | | | ||
| | | [@DAnn2012](https://github.com/DAnn2012) | | | ||
| | | [@duanestorey](https://github.com/duanestorey) | | | ||
| | | [@gareins](https://github.com/gareins) | | | ||
| | | [@j-hoffmann](https://github.com/j-hoffmann) | | | ||
| | | [@justwhocares](https://github.com/justwhocares) | | | ||
| | | [@robertdevore](https://github.com/robertdevore) | | |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.