From e7ea8aec4d65a547dfa7265e2094bc35cb54fef8 Mon Sep 17 00:00:00 2001 From: Mark Eklund Date: Sat, 23 Oct 2021 12:07:52 -0400 Subject: [PATCH] Getting act to act right --- .actrc | 1 + .github/act-event.json | 3 +++ .github/workflows/codeql-analysis.yml | 4 +--- .gitignore | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .actrc create mode 100644 .github/act-event.json diff --git a/.actrc b/.actrc new file mode 100644 index 0000000..72b3862 --- /dev/null +++ b/.actrc @@ -0,0 +1 @@ +-e .github/act-event.json diff --git a/.github/act-event.json b/.github/act-event.json new file mode 100644 index 0000000..43c2f0e --- /dev/null +++ b/.github/act-event.json @@ -0,0 +1,3 @@ +{ + "act": true +} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c2ea7c8..554963d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -22,10 +22,8 @@ on: jobs: analyze: - env: - ACT: - if: ${{ !env.ACT }} name: Analyze + if: ${{ !github.event.act }} # skip during local actions testing runs-on: ubuntu-latest permissions: actions: read diff --git a/.gitignore b/.gitignore index c143563..5c2cd53 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ /umd npm-debug.log* *.swp +*.swo .DS_Store