From fad54dd7903fe4b9df018d7a8c67d0fbaf72a23a Mon Sep 17 00:00:00 2001 From: Sujay Kumar Suman Date: Fri, 3 Nov 2023 15:23:08 +0530 Subject: [PATCH] test --- .github/workflows/test.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..a437a920f3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,30 @@ +name: sk-test + +on: + workflow_run: + workflows: + - Tag + types: + - completed + + pull_request: {} + workflow_dispatch: {} + +env: + # Common versions + GO_VERSION: '1.18' + GOLANGCI_VERSION: 'v1.47.1' + DOCKER_BUILDX_VERSION: 'v0.8.2' + + # Common users. We can't run a step 'if secrets.AWS_USR != ""' but we can run + # a step 'if env.AWS_USR' != ""', so we copy these to succinctly test whether + # credentials have been provided before trying to run steps that need them. + DOCKER_USR: ${{ github.actor }} + +jobs: + get-tags: + runs-on: ubuntu-20.04 + steps: + - name: Print Tags + run: | + echo "${GITHUB_REF}" \ No newline at end of file