diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index 3c3dcaa..0000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: CodeQL - -on: - push: - branches: - - v3.x - pull_request: - branches: - - v3.x - schedule: - - cron: "0 6 * * 1" - -jobs: - analyse: - name: analyze - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - language: ["javascript"] - steps: - - uses: technote-space/auto-cancel-redundant-workflow@v1 - - uses: actions/checkout@v2 - - uses: github/codeql-action/init@v1 - with: - languages: ${{ matrix.language }} - - uses: github/codeql-action/autobuild@v1 - - uses: github/codeql-action/analyze@v1 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml deleted file mode 100644 index 8035098..0000000 --- a/.github/workflows/linter.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Lint - -on: - push: - branches: - - v3.x - pull_request: - branches: - - v3.x - -jobs: - lint: - name: Lint - runs-on: ubuntu-latest - - steps: - - uses: technote-space/auto-cancel-redundant-workflow@v1 - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: github/super-linter@v3 - env: - VALIDATE_ALL_CODEBASE: false - VALIDATE_JAVASCRIPT_STANDARD: false - VALIDATE_TYPESCRIPT_STANDARD: false - LINTER_RULES_PATH: . - JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json - JAVASCRIPT_DEFAULT_STYLE: prettier - DEFAULT_BRANCH: v3.x - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - FILTER_REGEX_INCLUDE: .*src/.* diff --git a/.github/workflows/release-dryrun.yml b/.github/workflows/release-dryrun.yml deleted file mode 100644 index 0bf7284..0000000 --- a/.github/workflows/release-dryrun.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Release DryRun - -on: - push: - branches-ignore: - - v*.x - -jobs: - release-dryrun: - runs-on: ubuntu-latest - steps: - - uses: technote-space/auto-cancel-redundant-workflow@v1 - - uses: actions/checkout@v2 - - run: npm install - - run: npm run all - - uses: ./ - - uses: cycjimmy/semantic-release-action@v2 - with: - branches: | - [ - "${{ env.GITHUB_REF_NAME }}" - ] - dry_run: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index c6c47da..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Release - -on: - push: - branches: - - v*.x - -jobs: - release: - runs-on: ubuntu-latest - steps: - - uses: technote-space/auto-cancel-redundant-workflow@v1 - - uses: actions/checkout@v2 - - run: npm install - - run: npm run all - - uses: cycjimmy/semantic-release-action@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 9c0393d..7cf5594 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "description": "Github slug action", "main": "lib/main.js", "scripts": { - "release": "semantic-release", "build": "tsc", "format": "prettier --write **/*.ts", "format-check": "prettier --check **/*.ts", @@ -29,9 +28,6 @@ "@actions/core": "^1.2.6" }, "devDependencies": { - "@semantic-release/changelog": "^5.0.1", - "@semantic-release/exec": "^5.0.0", - "@semantic-release/git": "^9.0.0", "@types/jest": "^26.0.20", "@types/node": "^14.14.21", "@typescript-eslint/eslint-plugin": "^4.22.0", @@ -43,31 +39,10 @@ "jest-circus": "^26.6.3", "js-yaml": "^3.14.1", "prettier": "^2.2.1", - "semantic-release": "^17.4.0", "ts-jest": "^26.4.4", "typescript": "^3.9.7" }, "files": [ "/dist" - ], - "release": { - "tagFormat": "${version}", - "plugins": [ - "@semantic-release/commit-analyzer", - "@semantic-release/release-notes-generator", - "@semantic-release/changelog", - [ - "@semantic-release/exec", - { - "prepareCmd": "git add dist" - } - ], - "@semantic-release/git", - "@semantic-release/github" - ], - "branches": [ - "v2.x", - "v3.x" - ] - } + ] }