diff --git a/.github/workflows/foo.yaml b/.github/workflows/foo.yaml new file mode 100644 index 00000000..79ab604e --- /dev/null +++ b/.github/workflows/foo.yaml @@ -0,0 +1,16 @@ +name: This is an example + +on: [pull_request] + +jobs: + one: + runs-on: ubuntu-latest + steps: + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ github.event.head_commit.message }} + #GITHUB_CONTEXT: ${{ toJson(github.event.commits[0].message) }} + #GITHUB_CONTEXT: ${{ toJson(github) }} + #run: echo ${{ github.repository }} # works! + run: echo ${{ toJson(github) }} + #run: echo "$GITHUB_CONTEXT" diff --git a/.github/workflows/nbserve.yaml b/.github/workflows/nbserve.yaml index 4b5b120e..237e05de 100644 --- a/.github/workflows/nbserve.yaml +++ b/.github/workflows/nbserve.yaml @@ -3,12 +3,13 @@ name: build and push nbserve 'on': - pull_request_target: + pull_request: paths: - images/nbserve/** jobs: build-and-push: + if: "!contains(github.event.head_commit.message, 'skip:build')" name: build and push nbserve uses: toolforge/github-actions/.github/workflows/build-and-push.yaml@build-and-push-v3 with: diff --git a/paws/values.yaml b/paws/values.yaml index 03d14c1a..d7d0d53b 100644 --- a/paws/values.yaml +++ b/paws/values.yaml @@ -6,7 +6,7 @@ pawspublic: nbserve: image: name: quay.io/wikimedia-paws-prod/nbserve - tag: pr-277 # nbserve tag managed by github actions + tag: pr-375 # nbserve tag managed by github actions # pawspublic.nbserve.image.template safely defines image:tag name in yaml template: "{{ .Values.pawspublic.nbserve.image.name}}:{{.Values.pawspublic.nbserve.image.tag }}" replicas: 1