forked from smartlyio/full-stack-open-pokedex
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 882 Bytes
/
Copy pathtesting.yml
File metadata and controls
30 lines (28 loc) · 882 Bytes
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
name: Testing stuff
on:
push:
branches:
- master
jobs:
a_test_job: #da vidim sta ce ispisat
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: gihub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: commits
env:
COMMITS: ${{ toJson(github.event.commits) }}
run: echo "$COMMITS"
- name: commit messages
env:
COMMIT_MESSAGES: ${{ toJson(github.event.commits.*.message) }}
run: echo "$COMMIT_MESSAGES"
- name: provjera commit poruke
env:
#COMMIT_PROVJERA: ${{ toJson(github.event.commits.*.message) }}
#X: ${{ join(toJson(github.event.commits.*.message), ' ') }}
X: ${{ contains(join(toJson(github.event.commits.*.message), ' '), 'skip') }}
run: echo "$X"