Skip to content

Commit

Permalink
fix ci check on main (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
floreks authored Sep 25, 2024
1 parent f7fa8a7 commit de0d62f
Showing 1 changed file with 0 additions and 52 deletions.
52 changes: 0 additions & 52 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,6 @@ env:
GOPATH: /home/runner/go/
GOPROXY: "https://proxy.golang.org"
jobs:
prepare:
name: Prepare release
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
outputs:
new_release_version: ${{ steps.semantic_release.outputs.new_release_version }}
new_release_published: ${{ steps.semantic_release.outputs.new_release_published }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PLURAL_BOT_PAT }}
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
id: semantic_release
with:
dry_run: true
env:
GITHUB_TOKEN: ${{ secrets.PLURAL_BOT_PAT }}
NODE_AUTH_TOKEN: ${{ secrets.PLURAL_BOT_NPM_TOKEN }}
build:
name: Build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -69,7 +46,6 @@ jobs:
name: Build and push Agent container
runs-on: ubuntu-20.04
needs:
- prepare
- test
permissions:
contents: 'read'
Expand Down Expand Up @@ -122,31 +98,3 @@ jobs:
cache-to: type=gha,mode=max
build-args: |
GIT_COMMIT=${{ github.sha }}
release:
runs-on: ubuntu-latest
needs: build
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name != 'pull_request'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PLURAL_BOT_PAT }}
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
id: semantic_release
if: github.event_name != 'pull_request'
env:
GITHUB_TOKEN: ${{ secrets.PLURAL_BOT_PAT }}
NODE_AUTH_TOKEN: ${{ secrets.PLURAL_BOT_NPM_TOKEN }}
- name: slack webhook
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: workflow,job,repo,message,commit,author
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} # required
if: always()

0 comments on commit de0d62f

Please sign in to comment.