diff --git a/.github/workflows/check_gradle_all.yaml b/.github/workflows/check_gradle_all.yaml index 1f3c2fa73..c034fc2b0 100644 --- a/.github/workflows/check_gradle_all.yaml +++ b/.github/workflows/check_gradle_all.yaml @@ -2,7 +2,6 @@ name: 🐘 Gradle | Check All on: - workflow_dispatch: pull_request: types: [ opened, synchronize, reopened ] diff --git a/.github/workflows/lint_yaml.yaml b/.github/workflows/lint_yaml.yaml index 7cf58a5ce..870fa475c 100644 --- a/.github/workflows/lint_yaml.yaml +++ b/.github/workflows/lint_yaml.yaml @@ -2,7 +2,6 @@ name: 🔎 Lint Yaml on: - workflow_dispatch: pull_request: types: [ opened, synchronize, reopened ] diff --git a/.github/workflows/publish_container.yaml b/.github/workflows/publish_container.yaml index 34b1cbce9..1fec0bdbf 100644 --- a/.github/workflows/publish_container.yaml +++ b/.github/workflows/publish_container.yaml @@ -2,31 +2,11 @@ name: 🐋 Container | Publish on: - workflow_dispatch: - inputs: - project: - required: true - description: 'The container to publish' - type: string - version: - required: true - description: 'The version to release' - type: string - category: - required: true - description: 'The category of project' - type: choice - options: - - containers push: tags: - 'containers/*/v*.*.*' jobs: - # This job either uses the inputs from the workflow_dispatch event, - # or will split values out of the pushed tag. - # This allows the release manager to either create a release themselves and have this job pick it up, - # Or run this job to create a release. determine_values: name: 🔎 Determine Values runs-on: ubuntu-latest @@ -40,21 +20,18 @@ jobs: - name: 🔎 Determine Project Values id: determine_values env: - CATEGORY_OVERRIDE: ${{ inputs.category }} - PROJECT_OVERRIDE: ${{ inputs.project }} - VERSION_OVERRIDE: ${{ inputs.version }} TAG: ${{ github.ref_name }} run: | - category=${CATEGORY_OVERRIDE:-${TAG%%/*}} + category=${TAG%%/*} echo "category=${category}" echo "category=${category}" >> $GITHUB_OUTPUT - version=${VERSION_OVERRIDE:-${TAG##*/}} + version=${TAG##*/} echo "version=${version}" echo "version=${version}" >> $GITHUB_OUTPUT - project=${PROJECT_OVERRIDE:-${TAG#*/}} - project=${PROJECT_OVERRIDE:-${project%/*}} + project=${TAG#*/} + project=${project%/*} echo "project=${project}" echo "project=${project}" >> $GITHUB_OUTPUT diff --git a/.github/workflows/publish_gradle_project.yaml b/.github/workflows/publish_gradle_project.yaml index 33afc4b38..b7c0f8693 100644 --- a/.github/workflows/publish_gradle_project.yaml +++ b/.github/workflows/publish_gradle_project.yaml @@ -3,31 +3,11 @@ name: 🐘 Gradle | Publish Project on: - workflow_dispatch: - inputs: - category: - required: true - description: 'The category of project' - type: choice - options: - - plugins - project: - required: true - description: 'The project to build' - type: string - version: - required: true - description: 'The version to release' - type: string push: tags: - 'plugins/*/v*.*.*' jobs: - # This job either uses the inputs from the workflow_dispatch event, - # or will split values out of the pushed tag. - # This allows the release manager to either create a release themselves and have this job pick it up, - # Or run this job to create a release. determine_values: name: 🔎 Determine Values runs-on: ubuntu-latest @@ -43,16 +23,16 @@ jobs: env: TAG: ${{ github.ref_name }} run: | - category=${CATEGORY_OVERRIDE:-${TAG%%/*}} + category=${TAG%%/*} echo "category=${category}" echo "category=${category}" >> $GITHUB_OUTPUT - version=${VERSION_OVERRIDE:-${TAG##*/}} + version=${TAG##*/} echo "version=${version}" echo "version=${version}" >> $GITHUB_OUTPUT - project=${PROJECT_OVERRIDE:-${TAG#*/}} - project=${PROJECT_OVERRIDE:-${project%/*}} + project=${TAG#*/} + project=${project%/*} echo "project=${project}" echo "project=${project}" >> $GITHUB_OUTPUT