Skip to content

Commit

Permalink
Ignore README.md in GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
walnuts1018 committed Jan 27, 2024
1 parent c99e382 commit e175032
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
push:
branches:
- main
paths-ignore:
- "README.md"

jobs:
build:
runs-on: ubuntu-latest
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- main
paths-ignore:
- "README.md"
workflow_dispatch:

jobs:
Expand All @@ -15,8 +17,8 @@ jobs:
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_USERNAME: GitHub Actions
SLACK_COLOR: '#4381de'
SLACK_ICON: 'https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png'
SLACK_COLOR: "#4381de"
SLACK_ICON: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
SLACK_TITLE: Start Walnuts.dev image build
SLACK_MESSAGE: |
Run number : #${{ github.run_number }}
Expand Down Expand Up @@ -80,7 +82,7 @@ jobs:
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_USERNAME: GitHub Actions
SLACK_ICON: 'https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png'
SLACK_ICON: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
SLACK_TITLE: Walnuts.dev image build succeeded
SLACK_MESSAGE: |
Image: Walnuts.dev
Expand All @@ -97,7 +99,7 @@ jobs:
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_USERNAME: GitHub Actions
SLACK_ICON: 'https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png'
SLACK_ICON: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
SLACK_TITLE: Walnuts.dev image build failed
SLACK_COLOR: danger
SLACK_MESSAGE: |
Expand Down

0 comments on commit e175032

Please sign in to comment.