diff --git a/.github/workflows/auto-security-release-js.yml b/.github/workflows/auto-security-release-js.yml new file mode 100644 index 0000000..3985652 --- /dev/null +++ b/.github/workflows/auto-security-release-js.yml @@ -0,0 +1,26 @@ +name: Auto Security Release (JavaScript) +permissions: + contents: write + pull-requests: write +on: + schedule: + - cron: "0 19 * * 1" # Every Monday at 2pm UTC-5 (7pm UTC) + workflow_dispatch: + inputs: + force: + description: "Force release even with non-dependabot commits" + type: boolean + default: false +jobs: + run: + permissions: + contents: write + pull-requests: write + uses: aws-geospatial/github-workflows-for-amazon-location/.github/workflows/auto-security-release.yml@main + with: + working-directory: javascript + tag-prefix: "js-v" + force: ${{ inputs.force || false }} + secrets: + APP_ID: ${{ secrets.AUTO_RELEASE_BOT_APP_ID }} + APP_PRIVATE_KEY: ${{ secrets.AUTO_RELEASE_BOT_PRIVATE_KEY }} diff --git a/.github/workflows/auto-security-release-kotlin.yml b/.github/workflows/auto-security-release-kotlin.yml new file mode 100644 index 0000000..f241f79 --- /dev/null +++ b/.github/workflows/auto-security-release-kotlin.yml @@ -0,0 +1,26 @@ +name: Auto Security Release (Kotlin) +permissions: + contents: write + pull-requests: write +on: + schedule: + - cron: "0 19 * * 1" # Every Monday at 2pm UTC-5 (7pm UTC) + workflow_dispatch: + inputs: + force: + description: "Force release even with non-dependabot commits" + type: boolean + default: false +jobs: + run: + permissions: + contents: write + pull-requests: write + uses: aws-geospatial/github-workflows-for-amazon-location/.github/workflows/auto-security-release.yml@main + with: + working-directory: kotlin + tag-prefix: "kotlin-v" + force: ${{ inputs.force || false }} + secrets: + APP_ID: ${{ secrets.AUTO_RELEASE_BOT_APP_ID }} + APP_PRIVATE_KEY: ${{ secrets.AUTO_RELEASE_BOT_PRIVATE_KEY }} diff --git a/.github/workflows/auto-security-release-swift.yml b/.github/workflows/auto-security-release-swift.yml new file mode 100644 index 0000000..79740e7 --- /dev/null +++ b/.github/workflows/auto-security-release-swift.yml @@ -0,0 +1,26 @@ +name: Auto Security Release (Swift) +permissions: + contents: write + pull-requests: write +on: + schedule: + - cron: "0 19 * * 1" # Every Monday at 2pm UTC-5 (7pm UTC) + workflow_dispatch: + inputs: + force: + description: "Force release even with non-dependabot commits" + type: boolean + default: false +jobs: + run: + permissions: + contents: write + pull-requests: write + uses: aws-geospatial/github-workflows-for-amazon-location/.github/workflows/auto-security-release.yml@main + with: + working-directory: swift + tag-prefix: "" + force: ${{ inputs.force || false }} + secrets: + APP_ID: ${{ secrets.AUTO_RELEASE_BOT_APP_ID }} + APP_PRIVATE_KEY: ${{ secrets.AUTO_RELEASE_BOT_PRIVATE_KEY }} diff --git a/.github/workflows/dependabot-retry.yml b/.github/workflows/dependabot-retry.yml new file mode 100644 index 0000000..75e5521 --- /dev/null +++ b/.github/workflows/dependabot-retry.yml @@ -0,0 +1,17 @@ +name: Dependabot Auto Retry +permissions: + security-events: write + pull-requests: read +on: + schedule: + - cron: "0 9 * * *" + workflow_dispatch: +jobs: + run: + permissions: + security-events: write + pull-requests: read + uses: aws-geospatial/github-workflows-for-amazon-location/.github/workflows/dependabot-retry.yml@main + secrets: + APP_ID: ${{ secrets.AUTO_RELEASE_BOT_APP_ID }} + APP_PRIVATE_KEY: ${{ secrets.AUTO_RELEASE_BOT_PRIVATE_KEY }}