diff --git a/actions/release/action.yml b/actions/release/action.yml index 636299d..ba2b717 100644 --- a/actions/release/action.yml +++ b/actions/release/action.yml @@ -19,13 +19,6 @@ runs: shell: bash run: curl -fsSL https://bun.sh/install | bash && echo "$HOME/.bun/bin" >> "$GITHUB_PATH" - - name: Configure git auth - shell: bash - env: - GITEA_TOKEN: ${{ inputs.gitea-token }} - GITEA_URL: ${{ inputs.gitea-url }} - run: git remote set-url origin "https://oauth2:${GITEA_TOKEN}@${GITEA_URL#https://}/${GITHUB_REPOSITORY}.git" - - name: Install dependencies shell: bash run: bun install --frozen-lockfile diff --git a/templates/tools-semantic-release/release.config.mjs b/templates/tools-semantic-release/release.config.cjs similarity index 94% rename from templates/tools-semantic-release/release.config.mjs rename to templates/tools-semantic-release/release.config.cjs index 0851726..f59a98e 100644 --- a/templates/tools-semantic-release/release.config.mjs +++ b/templates/tools-semantic-release/release.config.cjs @@ -1,7 +1,7 @@ /** * @type {import('semantic-release').GlobalConfig} */ -export default { +module.exports = { repositoryUrl: "https://code.quickbasic.org/sigitex/<>.git", branches: ["main"], plugins: [ @@ -10,4 +10,4 @@ export default { ["@semantic-release/npm", { npmPublish: false }], "@markwylde/semantic-release-gitea", ], -} +};