diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index dabe0665..00000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: "CodeQL Advanced" - -on: - push: - pull_request: - workflow_dispatch: - schedule: - # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule - - cron: '0 5 * * *' -permissions: read-all -jobs: - codeql-analysis-call: - permissions: - actions: read - contents: read - security-events: write - uses: spring-io/github-actions/.github/workflows/codeql-analysis.yml@1 diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml deleted file mode 100644 index 360e63ec..00000000 --- a/.github/workflows/continuous-integration-workflow.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: Build and Deploy - -on: - push: - branches: - - '**' - schedule: - - cron: '0 10 * * *' # Once per day at 10am UTC - workflow_dispatch: - -env: - DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} - -permissions: - contents: read - -jobs: - build: - name: Build - uses: spring-io/spring-security-release-tools/.github/workflows/build.yml@v1 - strategy: - matrix: - os: [ubuntu-latest, windows-latest] - jdk: [17] - with: - runs-on: ${{ matrix.os }} - java-version: ${{ matrix.jdk }} - distribution: temurin - secrets: inherit - test: - name: Test Against Snapshots - uses: spring-io/spring-security-release-tools/.github/workflows/test.yml@v1 - with: - test-args: --refresh-dependencies --stacktrace -PforceMavenRepositories=snapshot -PspringFrameworkVersion=6.1.+ -PspringSecurityVersion=6.3.+ - secrets: inherit - deploy-artifacts: - name: Deploy Artifacts - needs: [build, test] - uses: spring-io/spring-security-release-tools/.github/workflows/deploy-artifacts.yml@v1 - with: - should-deploy-artifacts: ${{ needs.build.outputs.should-deploy-artifacts }} - secrets: inherit - deploy-docs: - name: Deploy Docs - needs: [build, test] - uses: spring-io/spring-security-release-tools/.github/workflows/deploy-docs.yml@v1 - with: - should-deploy-docs: ${{ needs.build.outputs.should-deploy-artifacts }} - secrets: inherit - perform-release: - name: Perform Release - needs: [deploy-artifacts, deploy-docs] - uses: spring-io/spring-security-release-tools/.github/workflows/perform-release.yml@v1 - with: - should-perform-release: ${{ needs.deploy-artifacts.outputs.artifacts-deployed }} - project-version: ${{ needs.deploy-artifacts.outputs.project-version }} - milestone-repo-url: https://repo.spring.io/artifactory/milestone - release-repo-url: https://repo1.maven.org/maven2 - artifact-path: org/springframework/security/spring-security-oauth2-authorization-server - slack-announcing-id: spring-authorization-server-announcing - secrets: inherit \ No newline at end of file diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml deleted file mode 100644 index e7b6fd25..00000000 --- a/.github/workflows/deploy-docs.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Deploy Docs - -on: - push: - branches-ignore: - - "gh-pages" - - "dependabot/**" - - "0.4.x" - - "1.0.x" - - "1.1.x" - tags: - - "**" - repository_dispatch: - types: request-build-reference # legacy - workflow_dispatch: - -permissions: - actions: write - -jobs: - build: - runs-on: ubuntu-latest - if: github.repository_owner == 'spring-projects' - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: docs-build - fetch-depth: 1 - - name: Dispatch (partial build) - if: github.ref_type == 'branch' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) -f build-refname=${{ github.ref_name }} - - name: Dispatch (full build) - if: github.ref_type == 'tag' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) diff --git a/.github/workflows/pr-build-workflow.yml b/.github/workflows/pr-build-workflow.yml deleted file mode 100644 index ec05df5c..00000000 --- a/.github/workflows/pr-build-workflow.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: PR build - -on: - pull_request: - branches: - - '**' - -permissions: - contents: read - -env: - DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} - -jobs: - build: - name: Build - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-latest] - jdk: [17] - fail-fast: false - steps: - - uses: actions/checkout@v4 - - name: Set up JDK ${{ matrix.jdk }} - uses: spring-io/spring-gradle-build-action@v2 - with: - java-version: ${{ matrix.jdk }} - distribution: 'temurin' - - name: Build with Gradle - run: ./gradlew clean build diff --git a/.github/workflows/release-scheduler.yml b/.github/workflows/release-scheduler.yml deleted file mode 100644 index f7e61e02..00000000 --- a/.github/workflows/release-scheduler.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Release Scheduler - -on: - schedule: - - cron: '15 15 * * TUE' # Every Tuesday at 3:15pm UTC - workflow_dispatch: - -permissions: read-all - -jobs: - dispatch_scheduled_releases: - name: Dispatch scheduled releases - if: ${{ github.repository_owner == 'spring-projects' }} - strategy: - matrix: - # List of active maintenance branches. - branch: [ main, 1.2.x ] - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - name: Dispatch - env: - GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} - run: gh workflow run update-scheduled-release-version.yml -r ${{ matrix.branch }} diff --git a/.github/workflows/update-scheduled-release-version.yml b/.github/workflows/update-scheduled-release-version.yml deleted file mode 100644 index cc67c2f3..00000000 --- a/.github/workflows/update-scheduled-release-version.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Update Scheduled Release Version - -on: - workflow_dispatch: # Manual trigger only. Triggered by release-scheduler.yml on main. - -permissions: - contents: read - -jobs: - update-scheduled-release-version: - name: Update Scheduled Release Version - uses: spring-io/spring-security-release-tools/.github/workflows/update-scheduled-release-version.yml@v1 - secrets: inherit