Skip to content

Merge pull request #37 from python-discord/dependabot/bundler/docs/re… #53

Merge pull request #37 from python-discord/dependabot/bundler/docs/re…

Merge pull request #37 from python-discord/dependabot/bundler/docs/re… #53

Workflow file for this run

name: Olli CI
on:
push:
branches:
- main
pull_request:
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
uses: ./.github/workflows/lint.yml
generate-sha-tag:
runs-on: ubuntu-latest
outputs:
sha-tag: ${{ steps.sha-tag.outputs.sha-tag }}
steps:
- name: Create SHA Container tag
id: sha-tag
run: |
tag=$(cut -c 1-7 <<< $GITHUB_SHA)
echo "sha-tag=$tag" >> $GITHUB_OUTPUT
build:
uses: ./.github/workflows/build-deploy.yml
needs:
- lint
- generate-sha-tag
with:
sha-tag: ${{ needs.generate-sha-tag.outputs.sha-tag }}
secrets: inherit
publish:
uses: ./.github/workflows/publish.yml
if: startsWith(github.ref, 'refs/tags/v')
needs:
- lint
- generate-sha-tag
secrets: inherit