Browse Source

Delete .github/workflows directory

Signed-off-by: Joe Grandja <10884212+jgrandja@users.noreply.github.com>
1.3.x
Joe Grandja 5 months ago committed by GitHub
parent
commit
3522e2ab65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 17
      .github/workflows/codeql.yml
  2. 61
      .github/workflows/continuous-integration-workflow.yml
  3. 39
      .github/workflows/deploy-docs.yml
  4. 31
      .github/workflows/pr-build-workflow.yml
  5. 27
      .github/workflows/release-scheduler.yml
  6. 13
      .github/workflows/update-scheduled-release-version.yml

17
.github/workflows/codeql.yml

@ -1,17 +0,0 @@ @@ -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

61
.github/workflows/continuous-integration-workflow.yml

@ -1,61 +0,0 @@ @@ -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

39
.github/workflows/deploy-docs.yml

@ -1,39 +0,0 @@ @@ -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)

31
.github/workflows/pr-build-workflow.yml

@ -1,31 +0,0 @@ @@ -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

27
.github/workflows/release-scheduler.yml

@ -1,27 +0,0 @@ @@ -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 }}

13
.github/workflows/update-scheduled-release-version.yml

@ -1,13 +0,0 @@ @@ -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
Loading…
Cancel
Save