diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c8f2b9..b861568 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ permissions: jobs: ci: - uses: "WebProject-xyz/.github/.github/workflows/ci.yml@a3c13733f59dd65796c768d086333e56a9ceeccd" # main + uses: "WebProject-xyz/.github/.github/workflows/ci.yml@324cd8969896d366971c67d3c964c92791fbc207" # main secrets: inherit with: php-cs-fixer-ignore-env: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 36fe8d1..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Release -"on": - workflow_run: - workflows: ["CI"] - types: - - completed - branches: - - main -jobs: - release: - if: >- - github.event.workflow_run.conclusion == 'success' - && !startsWith(github.event.workflow_run.head_commit.message, 'chore(release)') - name: release - runs-on: ubuntu-latest - steps: - - name: Generate Token - id: generate_token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3 - with: - app-id: ${{ secrets.BOT_APP_ID }} - private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }} - - - name: Checkout - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - with: - ref: ${{ github.event.workflow_run.head_sha }} - fetch-depth: 0 - token: ${{ steps.generate_token.outputs.token }} - - - name: Semantic Release - id: semantic - uses: cycjimmy/semantic-release-action@03595b5eaf44910cf239ff20904cc52d410f97d4 # v8.1.2 - with: - tag_format: ${version} - branches: | - ['main', 'next'] - extra_plugins: | - @semantic-release/commit-analyzer - @semantic-release/release-notes-generator - @semantic-release/github - @semantic-release/changelog - @semantic-release/git - conventional-changelog-conventionalcommits - env: - GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} \ No newline at end of file