diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml new file mode 100644 index 0000000..19412ea --- /dev/null +++ b/.github/workflows/pr-check.yml @@ -0,0 +1,16 @@ +name: pr-check request + +on: + pull_request: + types: [opened, synchronize] + branches: + - main + +jobs: + pr-check: + runs-on: ubuntu-latest + steps: + - name: PR check running for branch + run: echo "PR check running for branch:" ${{ github.head_ref }} + + \ No newline at end of file diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml new file mode 100644 index 0000000..3b4517a --- /dev/null +++ b/.github/workflows/schedule.yml @@ -0,0 +1,15 @@ +name: schedule request + +on: + schedule: + - cron: '20 2 * * *' + +jobs: + schedule: + runs-on: ubuntu-latest + steps: + - name: print date + run: date + + - name: CPU usage + run: ps -aux | grep -i "cpu" \ No newline at end of file