Skip to content

Commit

Permalink
Merge pull request #9 from bcdady/hugging-face
Browse files Browse the repository at this point in the history
ci: replace magikon step with @huggingface
  • Loading branch information
bcdady authored Dec 26, 2024
2 parents e180c58 + 7c74741 commit f03f02c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
name: CI
---
name: Release project

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
tag:
release:
name: Release
runs-on: ubuntu-latest

steps:
- name: Github semantic tagging
uses: Magikon/github-tag-action@5.0.0

- name: Checkout repository
uses: actions/checkout@v4

- name: Release
uses: huggingface/semver-release-action@v1.1.0
12 changes: 6 additions & 6 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ on:
pull_request: {}
push:
branches:
- main
- master
- main
- master
paths:
- .github/workflows/semgrep.yml
- .github/workflows/semgrep.yml
schedule:
- cron: '0 0 * * 0'
- cron: "0 0 * * 0"
name: Semgrep
jobs:
semgrep:
Expand All @@ -18,5 +18,5 @@ jobs:
container:
image: returntocorp/semgrep
steps:
- uses: actions/checkout@v4
- run: semgrep ci
- uses: actions/checkout@v4
- run: semgrep ci
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin

0 comments on commit f03f02c

Please sign in to comment.