From d0c61662b51ae16a7fd72d1511fa2ccfe4ed84d5 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Thu, 26 Mar 2020 08:35:48 -0400 Subject: [PATCH] Revise workflows (#99) --- .github/workflows/dockerhub-description.yml | 8 ++++++-- .github/workflows/misspell.yml | 17 +++++++++++------ .github/workflows/security.yml | 14 ++++++++++++++ 3 files changed, 31 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dockerhub-description.yml b/.github/workflows/dockerhub-description.yml index 39151d3f..eaa414fb 100644 --- a/.github/workflows/dockerhub-description.yml +++ b/.github/workflows/dockerhub-description.yml @@ -1,12 +1,16 @@ name: Docker Hub description on: push: - branches: [master] + branches-ignore: + - '**' + #branches: [master] paths: - README.md - .github/workflows/dockerhub-description.yml pull_request: - branches: [master] + branches-ignore: + - '**' + #branches: [master] paths: - README.md - .github/workflows/dockerhub-description.yml diff --git a/.github/workflows/misspell.yml b/.github/workflows/misspell.yml index 059ce50a..7615d666 100644 --- a/.github/workflows/misspell.yml +++ b/.github/workflows/misspell.yml @@ -1,5 +1,9 @@ name: Misspells -on: [pull_request,push] +on: + pull_request: + branches: [master] + push: + branches: [master] jobs: misspell: runs-on: ubuntu-latest @@ -11,10 +15,11 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} locale: "US" + level: error - name: sobolevn fixer uses: sobolevn/misspell-fixer-action@master - - uses: peter-evans/create-pull-request@v2.4.4 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: 'Typos fixes' - title: "Typos fixes" \ No newline at end of file + #- uses: peter-evans/create-pull-request@v2.4.4 + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # commit-message: 'Typos fixes' + # title: "Typos fixes" diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 0f113372..c6720834 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -1,6 +1,20 @@ name: Security scan of Docker image on: push: + branches: [master] + paths-ignore: + - .github/workflows/buildx-release.yml + - .github/workflows/dockerhub-description.yml + - .github/workflows/greetings.yml + - .github/workflows/labels.yml + - .github/workflows/misspell.yml + - .github/workflows/security.yml + - .dockerignore + - .gitignore + - docker-compose.yml + - LICENSE + - README.md + - title.svg schedule: - cron: '0 9 * * *' jobs: