Merge pull request #2 from rdimitrov/implement-frizbee-action #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test workflow for developing the frizbee-action | |
on: | |
push: | |
workflow_dispatch: | |
permissions: write-all | |
jobs: | |
test_pr_and_fail_defaults: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: ./ # Uses an action in the root directory | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
open_pr: true | |
fail_on_unpinned: true | |
test_pr_and_fail: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: ./ # Uses an action in the root directory | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
actions: tests/workflows | |
dockerfiles: tests/dockerfiles | |
kubernetes: tests/k8s | |
docker_compose: tests/docker_compose | |
open_pr: true | |
fail_on_unpinned: true | |
test_pr_and_fail_again: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: ./ # Uses an action in the root directory | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
actions: tests/workflows | |
dockerfiles: tests/dockerfiles | |
kubernetes: tests/k8s | |
docker_compose: tests/docker_compose | |
open_pr: true | |
fail_on_unpinned: true | |
test_no_pr_and_fail: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: ./ # Uses an action in the root directory | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
actions: tests/workflows | |
dockerfiles: tests/dockerfiles | |
kubernetes: tests/k8s | |
docker_compose: tests/docker_compose | |
open_pr: false | |
fail_on_unpinned: true | |
test_no_pr_and_no_fail: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: ./ # Uses an action in the root directory | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
actions: tests/workflows | |
dockerfiles: tests/dockerfiles | |
kubernetes: tests/k8s | |
docker_compose: tests/docker_compose | |
open_pr: false | |
fail_on_unpinned: false | |
test_no_pr_and_no_fail_no_actions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: ./ # Uses an action in the root directory | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
actions: "" | |
dockerfiles: "." | |
kubernetes: "" | |
docker_compose: "" | |
open_pr: false | |
fail_on_unpinned: false | |
test_no_pr_and_no_fail_default: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: ./ # Uses an action in the root directory | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
open_pr: false | |
fail_on_unpinned: false | |
test_no_pr_and_no_fail_conflict: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: ./ # Uses an action in the root directory | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
actions: "" | |
dockerfiles: "." | |
kubernetes: "." | |
docker_compose: "." | |
open_pr: false | |
fail_on_unpinned: false |