diff --git a/.act-event.json b/.act-event.json new file mode 100644 index 0000000..97ddbc4 --- /dev/null +++ b/.act-event.json @@ -0,0 +1,3 @@ +{ + "act": true +} \ No newline at end of file diff --git a/.actrc b/.actrc new file mode 100644 index 0000000..f349288 --- /dev/null +++ b/.actrc @@ -0,0 +1,4 @@ +-P self-hosted=ghcr.io/catthehacker/ubuntu:act-latest +--container-architecture linux/amd64 +-e .act-event.json +--bind \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6c43785..f75d500 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,8 +19,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - with: - fetch-depth: '0' + if: ${{ !github.event.act }} # skip during local actions testing + - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67a23dd --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.secrets +.DS_Store \ No newline at end of file