We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a819812 commit b6bcb69Copy full SHA for b6bcb69
.github/workflows/python-publish.yml
@@ -41,15 +41,12 @@ jobs:
41
42
# Commit metadata back to repo
43
- name: Commit and push metadata
44
+ env:
45
+ GITHUB_TOKEN: ${{ secrets.REPO_PUSH_TOKEN }}
46
run: |
47
git config --global user.name "github-actions[bot]"
48
git config --global user.email "github-actions[bot]@users.noreply.github.com"
-
- # Switch to main branch
49
- git fetch origin main
50
- git checkout main
51
52
- # Add metadata and commit only if changes exist
+ git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/sciknoworg/OntoLearner.git
53
git add metadata/
54
if ! git diff --cached --quiet; then
55
git commit -m ":bookmark: Update metadata after release"
0 commit comments