diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 000000000..46774343e --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request_target, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: "Message that will be displayed on users' first issue" + pr-message: "Message that will be displayed on users' first pull request" diff --git a/.github/workflows/schedule.yaml b/.github/workflows/schedule.yaml new file mode 100644 index 000000000..2b8fb0c11 --- /dev/null +++ b/.github/workflows/schedule.yaml @@ -0,0 +1,10 @@ +on: + schedule: + -cron: '*/1 * * *' + +jobs: + hello_world: + runs-on: ubuntu-latest + steps: + - name: Echo current time + run: echo "The current server time is $(date)" diff --git a/Workflows/schedule.yaml b/Workflows/schedule.yaml new file mode 100644 index 000000000..bc46612f4 --- /dev/null +++ b/Workflows/schedule.yaml @@ -0,0 +1,10 @@ +on: + schedule: + -cron: '*/1 * * *' + +jobs: + hello_world: + runs-on: ubuntu-latest + steps: + - name: Echo current time + run: echo run: echo "The current server time is $(date)" \ No newline at end of file