Skip to content

Commit

Permalink
Add bump service version workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Aug 21, 2024
1 parent 1145fa6 commit 9c728f5
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/bumpServiceVersions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Apply necessary version bumps

on:
# workflow_call:
push:
branches: [ master ]
pull_request:
branches: [ master ]


permissions:
contents: read

jobs:
version-bumps:
name: Bump service versions
runs-on: ubuntu-latest
permissions: write-all #TODO: more fine-grained! https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
# pull-requests: read
steps:
- name: Dump GitHub context
id: github_context_step
run: echo '${{ toJSON(github) }}'
- name: Dump job context
run: echo '${{ toJSON(job) }}'
- name: Dump steps context
run: echo '${{ toJSON(steps) }}'
- name: Dump runner context
run: echo '${{ toJSON(runner) }}'
- name: Dump strategy context
run: echo '${{ toJSON(strategy) }}'
- name: Dump matrix context
run: echo '${{ toJSON(matrix) }}'
- uses: actions/checkout@v4
- run: |
git config --list
# See
# https://github.com/actions/toolkit
# https://github.com/actions/github-script
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs

0 comments on commit 9c728f5

Please sign in to comment.