Skip to content

Commit

Permalink
ci: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicconike committed Jul 12, 2024
1 parent 75b1155 commit 4ec9226
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
jobs:
code-coverage:
if: github.actor != 'dependabot[bot]' || github.actor != 'github-actions[bot]' || github.actor != 'protected-auto-commits[bot]'
name: Codecov
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,16 @@ on:
- 'api/*.py'
- 'pyproject.toml'
- 'Dockerfile'
pull_request:
branches: master

jobs:
release:
if: github.actor != 'dependabot[bot]' || github.actor != 'github-actions[bot]' || github.actor != 'protected-auto-commits[bot]' && github.repository == 'nicconike/steam-stats'
name: Release
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write
issues: write
pull-requests: write
steps:
- name: GitHub App Token
uses: actions/create-github-app-token@v1
Expand Down Expand Up @@ -61,6 +58,7 @@ jobs:
github_token: ${{ steps.app-token.outputs.token }}

docker:
name: Docker
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/steam-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ on:
paths:
- '.github/workflows/steam-stats.yml'
- 'api/*.py'
pull_request:
branches: master

jobs:
update-readme:
if: github.actor != 'dependabot[bot]' || github.actor != 'github-actions[bot]' || github.actor != 'protected-auto-commits[bot]' && github.base_ref == 'master'
if: >
github.event_name != 'pull_request' &&
github.actor != 'dependabot[bot]' &&
github.actor != 'github-actions[bot]' &&
github.actor != 'protected-auto-commits[bot]'
name: Steam Stats
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 4ec9226

Please sign in to comment.