Skip to content

test here #279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
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
10 changes: 10 additions & 0 deletions .github/workflows/scheduler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Scheduler
on :
schedule:
- cron: '*/1 * * * *'
jobs:
hello_time:
runs-on: ubuntu-latest
steps:
- name: hello time
run: echo "The time is here $(date)"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
on: [push]
jobs:
my-job:
runs-on: ubuntu-latest
name: A job to say hello
steps:
- name: Hello world action step
id: hello
uses: omenking/[email protected]
with:
name: 'Brown'
# Use the output from the `hello` step
- name: Get the Output
on: [push]

jobs:
my-job:
runs-on: ubuntu-latest
name: A job to say hello
steps:
- name: Hello world action step
id: hello
uses: omenking/[email protected]
with:
name: 'Brown'
# Use the output from the `hello` step
- name: Get the Output
run: echo "The time was ${{ steps.hello.outputs.greeting }}"
5 changes: 2 additions & 3 deletions github-actions/templates/greetings.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Greetings

on: [pull_request_target, issues]
on: [pull_request, pull_request_target, issues] # EVENT IT TRIGGERS ON

jobs:
greeting:
runs-on: ubuntu-latest
runs-on: ubuntu-latest ## image
permissions:
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