Skip to content

Commit 5daf59e

Browse files
authored
Update paths and remove token from checkout action
1 parent 7b57d4a commit 5daf59e

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
- name: Checkout main repository
3030
uses: actions/checkout@v5
3131
with:
32-
token: ${{ github.token }}
3332
fetch-depth: 0 # get full history (so no need for "git fetch --unshallow")
3433

3534
# Configure git identity
@@ -43,8 +42,7 @@ jobs:
4342
uses: actions/checkout@v5
4443
with:
4544
repository: DIRACGrid/DIRAC
46-
path: ../DIRAC
47-
token: ${{ github.token }}
45+
path: DIRAC
4846

4947
# Set up Python
5048
- uses: actions/setup-python@v6
@@ -69,7 +67,7 @@ jobs:
6967
PREV_VERSION=$(git describe --tags --abbrev=0 --match '*[0-9].[0-9]*' --exclude 'v[0-9]r*' --exclude 'v[0-9][0-9]r*')
7068
REFERENCE_BRANCH=${GITHUB_REF#refs/heads/}
7169
echo "Making release notes for ${REFERENCE_BRANCH} since ${PREV_VERSION}"
72-
../DIRAC/docs/diracdoctools/scripts/dirac-docs-get-release-notes.py \
70+
./DIRAC/docs/diracdoctools/scripts/dirac-docs-get-release-notes.py \
7371
--token "${{ secrets.GITHUB_TOKEN }}" \
7472
--sinceTag "${PREV_VERSION}" \
7573
--branches "${REFERENCE_BRANCH}" \
@@ -121,7 +119,7 @@ jobs:
121119
echo "Pushing tagged release notes to ${GITHUB_REF#refs/heads/}"
122120
git push "origin" "${GITHUB_REF#refs/heads/}"
123121
echo "Making GitHub release for ${NEW_VERSION}"
124-
../DIRAC/.github/workflows/make_release.py \
122+
./DIRAC/.github/workflows/make_release.py \
125123
--repo="${{ github.repository }}" \
126124
--token="${{ secrets.GITHUB_TOKEN }}" \
127125
--version="${NEW_VERSION}" \

0 commit comments

Comments
 (0)