feat: github aciton

This commit is contained in:
thomas
2024-04-17 18:36:43 +02:00
parent 04b1b4e565
commit 16e38ba91a
3 changed files with 3 additions and 2 deletions

View File

@@ -10,7 +10,8 @@ jobs:
steps: steps:
- name: checkout - name: checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install dependencies
run: npm i @actions/core @actions/github
- name: add labels - name: add labels
uses: actions-ecosystem/action-add-labels@v1 uses: actions-ecosystem/action-add-labels@v1
if: ${{ contains( fromJson('[ "tomalaforge", "alcaidio" , "svenson95", "jdegand", "DeveshChau", "stillst", "wandri", "webbomj", "kabrunko-dev", "Sanjar1304"]'), github.actor ) && startsWith(github.event.pull_request.title, 'Answer') }} if: ${{ contains( fromJson('[ "tomalaforge", "alcaidio" , "svenson95", "jdegand", "DeveshChau", "stillst", "wandri", "webbomj", "kabrunko-dev", "Sanjar1304"]'), github.actor ) && startsWith(github.event.pull_request.title, 'Answer') }}
@@ -38,7 +39,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Hello world action step - name: Hello world action step
uses: ./github-action/ # Uses an action in the root directory uses: ./.github/github-action/ # Uses an action in the root directory
id: hello id: hello
with: with:
who-to-greet: 'Mona the Octocat' who-to-greet: 'Mona the Octocat'