action-git-commit-push/.github/workflows/macos_action_test.yml

59 lines
1.7 KiB
YAML
Raw Normal View History

name: Action test on MacOS
on:
schedule:
- cron: "0 4 * * MON-FRI" # Runs at 04:00 UTC
push:
workflow_dispatch:
jobs:
macos-minimal:
runs-on: macos-latest
if: github.event_name != 'push'
steps:
- uses: actions/checkout@v2.3.4
- run: date > reports/macos_report_minimal.txt
- uses: GuillaumeFalourd/git-commit-push@main
macos-full:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2.3.4
- run: date > reports/macos_report_full.txt
- uses: GuillaumeFalourd/git-commit-push@main
with:
email: ${{ github.actor }}[bot]@users.noreply.github.com
name: ${{ github.actor }}
commit_message: macos full workflow
target_branch: macos
files: reports/macos_report_full.txt
remote_repository: origin
access_token: ${{ github.token }}
force: true
empty: true
2021-12-21 09:59:22 -03:00
tags: true
macos-full-remote:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2.3.4
- run: date > reports/macos_report_full_remote.txt
- uses: GuillaumeFalourd/git-commit-push@main
with:
email: ${{ github.actor }}[bot]@users.noreply.github.com
name: ${{ github.actor }}
commit_message: macos full remote workflow
target_branch: macos
files: reports/macos_report_full_remote.txt
remote_repository: https://github.com/GuillaumeFalourd/poc-github-actions
access_token: ${{ secrets.ACCESS_TOKEN }}
force: true
empty: true
tags: true
2021-12-21 09:59:22 -03:00
macos-nochanges:
2021-12-21 09:59:32 -03:00
runs-on: macos-latest
2021-12-21 09:59:22 -03:00
steps:
- uses: actions/checkout@v2.3.4
- uses: GuillaumeFalourd/git-commit-push@main