Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/multi-event.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Multiple Event Checker"

on:
push:
branches:
- main
- tryout

pull_request:
branches:
- main

jobs:
hello_world:
runs-on: ubuntu-latest
steps:
- name: "Printing"
run:
echo "HelloWorld!"
echo "Actor $GITHUB_ACTOR"

21 changes: 21 additions & 0 deletions .github/workflows/multiple-events.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Multiple Event Checker"

on:
push:
branches:
- main
- tryout

pull_request:
branches:
- main

jobs:
hello_world:
runs-on: ubuntu-latest
steps:
- name: "Printing"
run:
echo "HelloWorld!"
echo "Actor $GITHUB_ACTOR"

3 changes: 2 additions & 1 deletion github-actions/Readme.me
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ curl -X POST \
-H "Authorization: token {PAT} \
-d '{"event_type": "webhook", "client_payload": {"key": "value"} }' \
https://api.github.com/repos/{owner}/{repo}/dispatches
```
```

Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,16 @@ jobs:
name: 'Brown'
# Use the output from the `hello` step
- name: Get the Output
run: echo "The time was ${{ steps.hello.outputs.greeting }}"
run: echo "The time was ${{ steps.hello.outputs.greeting }}"

omars-job:
runs-on: ubuntu-latest
name: Omar is trying random things
steps:
- name: Say good bye lol
id: GoodBye
uses: omenking/barsoom@0.0.6
with:
name: Omar
- name: Print lol
run: echo "The time leaving is ${{ steps.GoodBye.outputs.greeting }}"
3 changes: 1 addition & 2 deletions github-actions/templates/greetings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Greetings

on: [pull_request_target, issues]
on: [pull_request_target, issues, push]

jobs:
greeting:
Expand All @@ -9,7 +9,6 @@ jobs:
issues: write
pull-requests: write
steps:
# https://github.com/actions/first-interaction
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down