-
-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (30 loc) · 973 Bytes
/
testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Testing the action
on:
push:
workflow_dispatch:
permissions:
contents: read
issues: write
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
#if: github.ref == 'refs/heads/main' # don't run on PRs
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: npm ci
- run: npm run all
test-tag-a-user:
needs: build
runs-on: ubuntu-latest
#if: github.ref == 'refs/heads/main' # don't run on PRs or branches
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3.3.0 # this will checkout the compiled Typescript
#- uses: hmarr/debug-action@v2
- uses: ./ # load and run local action
name: Tag a user
with:
issue: 1
team: rajbos
owner: ${{ github.repository_owner }}
repo: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}