Revise workflows (#99)

This commit is contained in:
Quentin McGaw
2020-03-26 08:35:48 -04:00
committed by GitHub
parent 98b076e2cb
commit d0c61662b5
3 changed files with 31 additions and 8 deletions

View File

@@ -1,12 +1,16 @@
name: Docker Hub description name: Docker Hub description
on: on:
push: push:
branches: [master] branches-ignore:
- '**'
#branches: [master]
paths: paths:
- README.md - README.md
- .github/workflows/dockerhub-description.yml - .github/workflows/dockerhub-description.yml
pull_request: pull_request:
branches: [master] branches-ignore:
- '**'
#branches: [master]
paths: paths:
- README.md - README.md
- .github/workflows/dockerhub-description.yml - .github/workflows/dockerhub-description.yml

View File

@@ -1,5 +1,9 @@
name: Misspells name: Misspells
on: [pull_request,push] on:
pull_request:
branches: [master]
push:
branches: [master]
jobs: jobs:
misspell: misspell:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -11,10 +15,11 @@ jobs:
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
locale: "US" locale: "US"
level: error
- name: sobolevn fixer - name: sobolevn fixer
uses: sobolevn/misspell-fixer-action@master uses: sobolevn/misspell-fixer-action@master
- uses: peter-evans/create-pull-request@v2.4.4 #- uses: peter-evans/create-pull-request@v2.4.4
with: # with:
token: ${{ secrets.GITHUB_TOKEN }} # token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'Typos fixes' # commit-message: 'Typos fixes'
title: "Typos fixes" # title: "Typos fixes"

View File

@@ -1,6 +1,20 @@
name: Security scan of Docker image name: Security scan of Docker image
on: on:
push: 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: schedule:
- cron: '0 9 * * *' - cron: '0 9 * * *'
jobs: jobs: