mirror of
https://github.com/actions/first-interaction.git
synced 2025-12-13 03:06:55 +00:00
An action for filtering pull requests and issues from first-time contributors
|
|
||
|---|---|---|
| .devcontainer | ||
| .github | ||
| .licenses/npm | ||
| .vscode | ||
| __fixtures__ | ||
| __tests__ | ||
| badges | ||
| dist | ||
| src | ||
| .checkov.yml | ||
| .gitattributes | ||
| .gitignore | ||
| .licensed.yml | ||
| .markdown-lint.yml | ||
| .node-version | ||
| .prettierignore | ||
| .prettierrc.yml | ||
| .yaml-lint.yml | ||
| action.yml | ||
| actionlint.yml | ||
| CODEOWNERS | ||
| eslint.config.mjs | ||
| jest.config.js | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| rollup.config.ts | ||
| tsconfig.base.json | ||
| tsconfig.eslint.json | ||
| tsconfig.json | ||
First Interaction
An action for filtering pull requests (PRs) and issues from first-time contributors.
Breaking Changes in v3.0.0
Version 3.0.0 introduces breaking changes:
- If you're using a self-hosted runner, ensure it's on version v2.327.1 or later
When a first-time contributor opens a PR or issue, this action will add a comment to the PR or issue with a message of your choice. This action is useful for welcoming first-time contributors to your project and providing them with information about how to contribute effectively.
Usage
See action.yml
name: Greetings
on:
pull_request:
types:
- opened
issues:
types:
- opened
permissions:
issues: write
pull-requests: write
jobs:
greeting:
name: Greet First-Time Contributors
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v3
with:
issue_message: |
# Issue Message with Markdown
This is the message that will be displayed!
pr_message: |
# PR Message with Markdown
This is the message that will be displayed!