Skip to content

Commit 611c043

Browse files
committed
test: Update GitHub actions configuration
1 parent 461c8c1 commit 611c043

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.github/workflows/codestyle.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88
if: github.event_name != 'push' || github.repository == 'DIRACGrid/WebAppDIRAC'
99
steps:
10-
- uses: actions/checkout@v2
11-
- uses: actions/setup-python@v2
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-python@v4
1212
with:
1313
python-version: "3.9"
1414
- name: Install pre-commit
@@ -25,8 +25,8 @@ jobs:
2525
shell: bash -l {0}
2626

2727
steps:
28-
- uses: actions/checkout@v2
29-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v3
3030
with:
3131
repository: DIRACGrid/DIRAC
3232
path: .DIRAC

.github/workflows/deployment.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
run:
2222
shell: bash -l {0}
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
with:
2626
token: ${{ secrets.PAT || github.token }}
2727
- run: |
2828
git fetch --prune --unshallow
2929
git config --global user.email "[email protected]"
3030
git config --global user.name "DIRACGrid CI"
3131
git clone https://github.com/DIRACGrid/DIRAC.git ../DIRAC
32-
- uses: actions/setup-python@v2
32+
- uses: actions/setup-python@v4
3333
with:
3434
python-version: "3.9"
3535
- name: Installing dependencies
@@ -88,8 +88,8 @@ jobs:
8888
git show
8989
# Create the tag
9090
git tag "$NEW_VERSION"
91-
echo ::set-output name=create-release::true
92-
echo ::set-output name=new-version::"$NEW_VERSION"
91+
run: echo "create-release=true" >> $GITHUB_OUTPUT
92+
run: echo "new-version=$NEW_VERSION" >> $GITHUB_OUTPUT
9393
fi
9494
fi
9595
fi

.github/workflows/labeler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ jobs:
66
triage:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/labeler@v3
9+
- uses: actions/labeler@v4
1010
with:
1111
repo-token: "${{ secrets.PAT }}"

.github/workflows/pr-sweep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
concurrency: pr-sweep
1010
if: github.repository == 'DIRACGrid/WebAppDIRAC'
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
with:
1414
fetch-depth: 0
1515
token: ${{ secrets.PAT }}

.github/workflows/semantic.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check Commit Format
16-
uses: gsactions/commit-message-checker@v1
16+
uses: gsactions/commit-message-checker@v2
1717
with:
1818
pattern: '^((docs|feat|fix|refactor|style|test|sweep)( ?\(.*\))?: .+|Revert ".+")$'
1919
excludeDescription: "true" # optional: this excludes the description body of a pull request
@@ -23,7 +23,7 @@ jobs:
2323
flags: "gim"
2424
error: 'Your commit has to follow the format "<type>(<scope>): <subject>"".'
2525
- name: Check Commit Length
26-
uses: gsactions/commit-message-checker@v1
26+
uses: gsactions/commit-message-checker@v2
2727
with:
2828
pattern: "^.{20,150}$"
2929
error: "Commit messages should be between 20 and 150 chars"

0 commit comments

Comments
 (0)