Skip to content
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

Add take action to auto assign contributors for Hacktoberfest #133

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

blackgirlbytes
Copy link
Contributor

This pull request introduces a new GitHub Actions workflow to automatically assign issues to contributors based on comments, specifically during the month of October. It also includes a logging mechanism for actions taken outside of October.

New GitHub Actions workflow:

  • .github/workflows/take.yml: Added a workflow named "Auto-assign issue to contributor" that triggers on issue comments. It assigns an issue to a contributor if the comment is made in October and logs a message if the comment is made outside of October.

if: ${{ github.event.created_at >= format('{0}-10-01T00:00:00Z', github.event.created_at.substr(0,4)) && github.event.created_at <= format('{0}-10-31T23:59:59Z', github.event.created_at.substr(0,4)) }}
steps:
- name: take the issue
uses: bdougie/take-action@main
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please at least tag a specific version or ideally an exact commit hash (like this)

@blackgirlbytes blackgirlbytes merged commit 5f9fde8 into main Sep 30, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants