Skip to content

Commit

Permalink
update actions, not run on draft prs
Browse files Browse the repository at this point in the history
  • Loading branch information
Virgula0 committed Jan 22, 2025
1 parent f330271 commit 9e36954
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:

jobs:
lint:
if: github.event.pull_request.draft != true

name: Run golangci-lint via Makefile
runs-on: ubuntu-latest
timeout-minutes: 20
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint-rsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:

jobs:
lint:
if: github.event.pull_request.draft != true

name: Run golangci-lint via Makefile
runs-on: ubuntu-latest
timeout-minutes: 20
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:

jobs:
lint:
if: github.event.pull_request.draft != true

name: Run golangci-lint via Makefile
runs-on: ubuntu-latest
timeout-minutes: 20
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/markdown-converter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:

jobs:
process-markdown:
if: github.event.pull_request.draft != true

runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ on:

jobs:
semgrep:
if: github.event.pull_request.draft != true

# User definable name of this GitHub Actions job.
name: semgrep/ci
# If you are self-hosting, change the following `runs-on` value:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:

jobs:
lint:
if: github.event.pull_request.draft != true

name: Run tests
runs-on: ubuntu-latest
timeout-minutes: 20
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/update-modules.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: 'Submodules Sync'
# Thanks https://stackoverflow.com/questions/64407333/using-github-actions-to-automatically-update-the-repos-submodules

on:
push:
Expand All @@ -26,14 +25,13 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true
ref: main
#ref: main

# Update references
- name: Git Submodule Update
run: |
git checkout main
git pull origin main --recurse-submodules
git submodule update --remote --recursive
git submodule update --init --remote --recursive
git pull --recurse-submodules
- uses: docker://chinthakagodawita/autoupdate-action:v1
env:
Expand Down

0 comments on commit 9e36954

Please sign in to comment.