[Architecture] Labeler Action
Una pull request collegata è già stata integrata.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- github-actions
- Ambito
- ci-cd
Direzione di ricerca
Review the .github/workflows YAML files and the actions/labeler documentation first, then compare them with the provided workflow example. Configure the labeler for this project, add inline comments, and verify that newly opened issues and pull requests receive the "new contributor" label.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Part of the OSS Architecture track
This YAML file defines a GitHub Action that labels issues or pull requests opened by new contributors with the "new contributor" label. It uses the actions/checkout action to check out the repository, and installs the GitHub CLI to interact with the GitHub API. It then checks if the event is an issue or pull request, and adds the "new contributor" label to the issue or pull request using the gh issue add-label or gh pr add-label command, respectively.
Task
- Within the .yaml workflow files, configure the labeler action for this project
- Add inline comments
Suggestions: try this prompt with copilot "how to create a labeler GitHub Action like this one https://github.com/actions/labeler"
or
Directions: debug the following output
name: Labeler
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
permissions:
issues: write
pull-requests: write
jobs:
labeler:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install GitHub CLI
run: |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
sudo apt-add-repository https://cli.github.com/packages
sudo apt update
sudo apt install gh
- name: Label issues or pull requests
if: ${{ github.event_name == 'issues' || github.event_name == 'pull_request_target' }}
run: |
if [[ "${{ github.event.issue }}" != "" ]]; then
echo "Labeling issue"
gh issue add-label "${{ github.event.issue.number }}" "new contributor"
elif [[ "${{ github.event.pull_request }}" != "" ]]; then
echo "Labeling pull request"
gh pr add-label "${{ github.event.pull_request.number }}" "new contributor"
Resources:
- What is an Action
- Our current workflows
- Getting started with GitHub Actions
- How to use Copilot to write your action recording
- If you're done with your task and want to suggest one of your own, check out marketplace
- Lingua principale
- JavaScript
- Stelle
- 123
- Fork
- 101
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenSourceFellows/amplify
-
QA Bug Part 2 Update Axios-cache-InterceptionForse già presa @SAUMILDHANKAR l’ha presa 384 giorni fa. Apertabug Failing workflow check
OpenSourceFellows/amplify#1077 · 4 commenti · 2 assegnatari ·
-
Auto messages for Pull RequestForse di nuovo libera @Alex-is-Gonzalez l’ha presa 384 giorni fa e non c’è nessuna pull request aperta. Aperta
OpenSourceFellows/amplify#1076 · 2 commenti · 1 assegnatario ·
-
Add Auto Reviewer to PRAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
OpenSourceFellows/amplify#1075 ·
-
new contributor
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
OpenSourceFellows/amplify#1059 · 1 commento ·
-
Pick your own ActionAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
OpenSourceFellows/amplify#1058 · 1 commento ·
Tutte le issue di OpenSourceFellows/amplify
Issue simili
-
FEATURE REQUEST
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
linuxmint/cinnamon-spices-extensions#1193 ·
I maintainer di solito rispondono entro 1 giorno
-
ds-bot collides with dsh-argp: tool "recall" is already registered, Bot layer never activatesApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Fei2411/DeepSeek-Bot#703 ·
-
area:web first-timers-only good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
career-ops-hq/career-ops#6264 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
catppuccin/firefox#21 ·
-
[Server Submission]: Wiro AIAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 83/100
cline/mcp-marketplace#3394 ·