diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..fc4cac4 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @nuonco/team diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..af374dd --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +# See GitHub's documentation for more information on this file: +# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates +version: 2 +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..931ddc4 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,42 @@ +--- +name: release +on: + push: + branches: + - main + +permissions: + contents: write + id-token: write + issues: read + packages: write + pull-requests: write + statuses: write + actions: read + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: false + +defaults: + run: + shell: bash + +jobs: + bump_tag: + name: bump tag + runs-on: ubuntu-latest + steps: + - name: Determine next version + id: semver + uses: ietf-tools/semver-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + branch: main + patchAll: true + + - name: Push tag + uses: mathieudutour/github-tag-action@v6.1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + custom_tag: ${{ steps.semver.outputs.nextStrict }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7a78a0a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# ignore local TF dev files +.terraform