mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-30 03:28:31 -07:00
Add [skip ci] to workflows
This commit is contained in:
parent
6ee9e99c23
commit
ffabd79479
3 changed files with 11 additions and 10 deletions
9
.github/workflows/publish-docker.yml
vendored
9
.github/workflows/publish-docker.yml
vendored
|
@ -9,6 +9,7 @@ jobs:
|
||||||
build-docker:
|
build-docker:
|
||||||
name: Build Docker Image
|
name: Build Docker Image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: !contains(github.event.head_commit.message, '[skip ci]')
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -54,14 +55,14 @@ jobs:
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
if: success() && github.event_name != 'pull_request'
|
if: success()
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
if: success() && github.event_name != 'pull_request'
|
if: success()
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
@ -73,7 +74,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: true
|
||||||
platforms: ${{ steps.prepare.outputs.docker_platforms }}
|
platforms: ${{ steps.prepare.outputs.docker_platforms }}
|
||||||
build-args: |
|
build-args: |
|
||||||
TAG=${{ steps.prepare.outputs.tag }}
|
TAG=${{ steps.prepare.outputs.tag }}
|
||||||
|
@ -89,7 +90,7 @@ jobs:
|
||||||
discord:
|
discord:
|
||||||
name: Discord Notification
|
name: Discord Notification
|
||||||
needs: build-docker
|
needs: build-docker
|
||||||
if: always() && github.event_name != 'pull_request'
|
if: always() && !contains(github.event.head_commit.message, '[skip ci]')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get Build Job Status
|
- name: Get Build Job Status
|
||||||
|
|
5
.github/workflows/publish-installers.yml
vendored
5
.github/workflows/publish-installers.yml
vendored
|
@ -9,6 +9,7 @@ jobs:
|
||||||
build-installer:
|
build-installer:
|
||||||
name: Build ${{ matrix.os_upper }} Installer
|
name: Build ${{ matrix.os_upper }} Installer
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}-latest
|
||||||
|
if: !contains(github.event.head_commit.message, '[skip ci]')
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -99,7 +100,7 @@ jobs:
|
||||||
release:
|
release:
|
||||||
name: Release Installers
|
name: Release Installers
|
||||||
needs: build-installer
|
needs: build-installer
|
||||||
if: always() && startsWith(github.ref, 'refs/tags/') && github.event_name != 'pull_request'
|
if: always() && startsWith(github.ref, 'refs/tags/') && !contains(github.event.head_commit.message, '[skip ci]')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get Build Job Status
|
- name: Get Build Job Status
|
||||||
|
@ -163,7 +164,7 @@ jobs:
|
||||||
discord:
|
discord:
|
||||||
name: Discord Notification
|
name: Discord Notification
|
||||||
needs: [build-installer, release]
|
needs: [build-installer, release]
|
||||||
if: always() && github.event_name != 'pull_request'
|
if: always() && !contains(github.event.head_commit.message, '[skip ci]')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get Build Job Status
|
- name: Get Build Job Status
|
||||||
|
|
7
.github/workflows/publish-snap.yml
vendored
7
.github/workflows/publish-snap.yml
vendored
|
@ -9,6 +9,7 @@ jobs:
|
||||||
build-snap:
|
build-snap:
|
||||||
name: Build Snap Package (${{ matrix.architecture }})
|
name: Build Snap Package (${{ matrix.architecture }})
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: !contains(github.event.head_commit.message, '[skip ci]')
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -59,9 +60,7 @@ jobs:
|
||||||
|
|
||||||
- name: Publish Snap Package
|
- name: Publish Snap Package
|
||||||
uses: snapcore/action-publish@v1
|
uses: snapcore/action-publish@v1
|
||||||
if: >
|
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/nightly'
|
||||||
github.event_name != 'pull_request' &&
|
|
||||||
(startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/nightly')
|
|
||||||
with:
|
with:
|
||||||
store_login: ${{ secrets.SNAP_LOGIN }}
|
store_login: ${{ secrets.SNAP_LOGIN }}
|
||||||
snap: ${{ steps.build.outputs.snap }}
|
snap: ${{ steps.build.outputs.snap }}
|
||||||
|
@ -70,7 +69,7 @@ jobs:
|
||||||
discord:
|
discord:
|
||||||
name: Discord Notification
|
name: Discord Notification
|
||||||
needs: build-snap
|
needs: build-snap
|
||||||
if: always() && github.event_name != 'pull_request'
|
if: always() && !contains(github.event.head_commit.message, '[skip ci]')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get Build Job Status
|
- name: Get Build Job Status
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue