Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: 'Auto-assign issue'
uses: pozil/auto-assign-issue@v1
uses: pozil/auto-assign-issue@d11e715efc663fe323c3d8d4d3cbbfdddd539baf # v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: fadedDexofan
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ jobs:
GITHUB_ACTIONS_AUTHOR_EMAIL: [email protected]

steps:
- uses: actions/create-github-app-token@v1
- uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1
id: app-token
with:
app-id: ${{ vars.VERSION_BUMPER_APPID }}
private-key: ${{ secrets.VERSION_BUMPER_SECRET }}

- name: Setup | Checkout Repository at workflow sha
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
ref: ${{ github.sha }}
Expand All @@ -55,22 +55,22 @@ jobs:
git checkout -B ${{ github.ref_name }}

- name: Setup | Download Build Artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
id: artifact-download
with:
name: ${{ needs.validate.outputs.distribution-artifacts }}
path: dist

- name: Release | Python Semantic Release
id: release
uses: python-semantic-release/[email protected]
uses: python-semantic-release/python-semantic-release@7b3f71697ccfbaef884e1e754b6364e974b134cf # v9.15.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
git_committer_name: "github-actions"
git_committer_email: "[email protected]"

- name: Release | Add distribution artifacts to GitHub Release Assets
uses: python-semantic-release/[email protected]
uses: python-semantic-release/publish-action@b9c41d4b0754dee5a6c7188d42b33f66e3a8aafd # v9.15.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release.outputs.tag }}
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
# the branch was updated. To keep PSR working with the configured release branches,
# we force a checkout of the desired release branch but at the workflow sha HEAD.
- name: Setup | Checkout Repository at workflow sha
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 1
ref: ${{ github.sha }}
Expand All @@ -132,7 +132,7 @@ jobs:
git checkout -B ${{ github.ref_name }}

- name: Setup | Download Build Artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
id: artifact-download
with:
name: ${{ needs.validate.outputs.distribution-artifacts }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout Repository at workflow sha
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: ${{ github.sha }}
fetch-depth: 0
Expand All @@ -40,12 +40,12 @@ jobs:
git checkout -B ${{ github.ref_name }}

- name: Setup | Install Python ${{ env.COMMON_PYTHON_VERSION }}
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
with:
python-version: ${{ env.COMMON_PYTHON_VERSION }}

- name: Setup | Install UV
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4
with:
enable-cache: true

Expand All @@ -65,7 +65,7 @@ jobs:
printf '%s\n' "artifacts_name=dist" >> $GITHUB_OUTPUT

- name: Upload | Distribution Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4
with:
name: ${{ steps.build.outputs.artifacts_name }}
path: ${{ steps.build.outputs.dist_dir }}
Expand All @@ -82,13 +82,13 @@ jobs:

steps:
- name: Setup | Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: ${{ github.sha }}
fetch-depth: 0

- name: Setup | Install Python ${{ env.COMMON_PYTHON_VERSION }}
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
with:
python-version: ${{ env.COMMON_PYTHON_VERSION }}

Expand All @@ -99,7 +99,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup | Install UV
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4
with:
enable-cache: true

Expand Down Expand Up @@ -144,13 +144,13 @@ jobs:

steps:
- name: Setup | Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: ${{ github.sha }}
fetch-depth: 1

- name: Setup | Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -161,7 +161,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup | Install UV
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4
with:
enable-cache: true

Expand All @@ -175,7 +175,7 @@ jobs:
run: task test:all -- --junit-xml=tests/reports/pytest-results.xml

- name: Report | Upload Test Results
uses: mikepenz/[email protected]
uses: mikepenz/action-junit-report@62516aa379bff6370c95fd5894d5a27fb6619d9b # v5.2.0
if: ${{ always() && steps.tests.outcome != 'skipped' }}
with:
report_paths: ./tests/reports/*.xml
Expand Down
Loading