Skip to content

Commit

Permalink
Merge pull request #2 from pyladies-colombia/1-test-gh-add-to-project
Browse files Browse the repository at this point in the history
Configuración de add-to-project action
  • Loading branch information
karobotco authored Jul 30, 2024
2 parents 0d5939c + 80e382b commit 6d5a5ca
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Add issues and prs to a project - team

on:
issues:
types:
- opened
- reopened

pull_request:
types:
- opened
- reopened

jobs:
add-to-project:
name: Add issue and prs to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/pyladies-colombia/projects/1
github-token: ${{ secrets.ERTYUI }}
labeled:
label-operator:
25 changes: 25 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Add To GitHub projects
description: Automatically add issues and PRs to GitHub projects
author: GitHub
branding:
icon: table
color: white
inputs:
project-url:
required: true
description: https://github.com/orgs/pyladies-colombia/projects/1
github-token:
required: true
description: ${{ secrets.ERTYUI }}
labeled:
required: false
description:
label-operator:
required: false
description:
outputs:
itemId:
description:
runs:
using: 'node20'
main: 'dist/index.js'

0 comments on commit 6d5a5ca

Please sign in to comment.