Skip to content

Commit

Permalink
fix: Fixed Validation Issues with End User Notification Resource
Browse files Browse the repository at this point in the history
  • Loading branch information
willguibr committed Feb 2, 2025
1 parent 4c550e8 commit ccdee40
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,38 +59,38 @@ jobs:
run: poetry run make new-sanity


format:
name: Code Format Check
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
steps:
- uses: actions/checkout@v4
with:
path: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install Poetry
uses: Gr1N/setup-poetry@v9

- name: Install dependencies
run: poetry install

- name: Do black code format
run: poetry run make format

- name: Do black code check-format
run: poetry run make check-format
# format:
# name: Code Format Check
# runs-on: ubuntu-latest
# defaults:
# run:
# working-directory: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
# steps:
# - uses: actions/checkout@v4
# with:
# path: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}

# - name: Setup Python
# uses: actions/setup-python@v5
# with:
# python-version: ${{ env.PYTHON_VERSION }}

# - name: Install Poetry
# uses: Gr1N/setup-poetry@v9

# - name: Install dependencies
# run: poetry install

# - name: Do black code format
# run: poetry run make format

# - name: Do black code check-format
# run: poetry run make check-format

release:
name: release
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
needs: [sanity, format]
needs: [sanity]
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit ccdee40

Please sign in to comment.