Releases are published on ermite; the mirror must not create draft releases.
#6 ci(release): skip the release job on the GitHub mirror
M .github/workflows/release.yml +3 -0
| @@ -10,6 +10,9 @@ permissions: | |||
| 10 | 10 | ||
| 11 | 11 | jobs: | |
| 12 | 12 | release: | |
| 13 | + | # Releases are published by ermite (git.bnema.dev); the GitHub mirror | |
| 14 | + | # receives the tags but must not publish a second release. | |
| 15 | + | if: github.server_url != 'https://github.com' | |
| 13 | 16 | runs-on: ubuntu-latest | |
| 14 | 17 | steps: | |
| 15 | 18 | - uses: actions/checkout@v4 | |
| @@ -10,6 +10,9 @@ permissions: | |||||
| 10 | 10 | ||||
| 11 | jobs: | 11 | jobs: | ||
| 12 | release: | 12 | release: | ||
| 13 | + | # Releases are published by ermite (git.bnema.dev); the GitHub mirror | |||
| 14 | + | # receives the tags but must not publish a second release. | |||
| 15 | + | if: github.server_url != 'https://github.com' | |||
| 13 | runs-on: ubuntu-latest | 16 | runs-on: ubuntu-latest | ||
| 14 | steps: | 17 | steps: | ||
| 15 | - uses: actions/checkout@v4 | 18 | - uses: actions/checkout@v4 | ||
Comments0 open / 0
no comments yet.