Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Apr 18, 2023
2 parents bc5eff1 + 84cee93 commit 4111f85
Show file tree
Hide file tree
Showing 14 changed files with 148 additions and 137 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/blacked.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,19 @@ jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Checking out Branch
run: git checkout "${GITHUB_REF:11}"
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Set tag
run: sed 's/\//-/g' <<< "::set-output name=TAG::${{ steps.extract_branch.outputs.branch }}"
id: tag
- name: Get tag
run: echo "The selected tag is ${{ steps.tag.outputs.TAG }}"

- name: black
uses: lgeiger/black-action@master
with:
Expand All @@ -17,7 +27,7 @@ jobs:
- name: Create Pull Request
if: steps.git-check.outputs.modified == 'true'
id: cpr
uses: peter-evans/create-pull-request@v4.2.4
uses: peter-evans/create-pull-request@v5.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: fix(Linting):blacked code
Expand All @@ -30,7 +40,7 @@ jobs:
[1]: https://github.com/peter-evans/create-pull-request
labels: automated,linting
reviewers: ${{github.actor}}
branch: fix(linting)_${{github.ref}}
branch: fix(linting)_${{ steps.tag.outputs.TAG }}
- name: Check outputs
run: |
echo "Pull Request Number - ${{ env.PULL_REQUEST_NUMBER }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ jobs:
uses: rokroskar/[email protected]
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/[email protected].0
- uses: actions/[email protected].2
- run: docker build --no-cache .
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/[email protected].0
uses: actions/[email protected].2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master-protection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: rokroskar/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/[email protected].0
- uses: actions/[email protected].2

- name: Check Tag
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: rokroskar/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/[email protected].0
- uses: actions/[email protected].2
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- uses: actions/[email protected].0
- uses: actions/[email protected].2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Quay.io
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.2-buster
FROM python:3.11.3-buster
RUN apt-get update -y
RUN apt-get install -y build-essential
WORKDIR /code
Expand Down
Loading

0 comments on commit 4111f85

Please sign in to comment.