Skip to content

Commit

Permalink
Merge pull request #76 from kbss-cvut/21-skip-dependabot
Browse files Browse the repository at this point in the history
CI workflow
  • Loading branch information
blcham authored Nov 5, 2024
2 parents bbd10cf + dad1e5a commit 28e2918
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ env:
MAIN_BRANCH_NAME: master
jobs:
build-and-publish:
if: github.actor != 'dependabot[bot]'

runs-on: ubuntu-latest

steps:
Expand All @@ -26,7 +28,6 @@ jobs:
run: echo "${{ github.token }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin

- name: Push image
if: ${{ github.actor != 'dependabot[bot]' }}
run: |
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME
# Change all uppercase to lowercase
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/merge-to-protected.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "18.x"
- name: Install
run: npm install
- name: Build
run: npm run-script build
env:
CI: ""

0 comments on commit 28e2918

Please sign in to comment.