Skip to content

Commit

Permalink
fix some links
Browse files Browse the repository at this point in the history
  • Loading branch information
CallumWalley committed Sep 19, 2024
1 parent 1340341 commit 6e5a0cd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Description of current CI workflow.

A series of QA checks run on the documentation.

The checks can be started manually from the ![workflow page](https://github.com/nesi/support-docs/actions/workflows/checks.yml/badge.svg),
The checks can be started manually from the ![workflow page](https://github.com/nesi/agdr/actions/workflows/checks.yml/badge.svg),
select the target branch, give the pattern of files to include, and select which checks you want done.

Checks will also be run on any _non main_ branch pushes. All checks will be run, but only on _changed_ files.
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/auto_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- cron: '30 12 * * *' # Should run 30 min after get remote assets.
env:
GH_TOKEN: ${{ github.token }}
TARGET_REPO: agdr-docs
LABEL_NAME: auto_merge
jobs:
automerge:
runs-on: ubuntu-latest
Expand All @@ -13,7 +15,7 @@ jobs:
with:
fetch-depth: 0
- run: |
for branch in $(gh pr list -R nesi/support-docs --label "auto_merge" --json headRefName --jq .[].headRefName);do
for branch in $(gh pr list -R ${TARGET_REPO} --label "${LABEL_NAME}" --json headRefName --jq .[].headRefName);do
git checkout $branch
gh pr merge --squash --auto --delete-branch
done
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/demo_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# pull_request:
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TARGET_REPO: "support-docs-dev"
# TARGET_REPO: "agdr-docs"
# TARGET_OWNER: "CallumWalley"
# WORKFLOW_ID: "deploy.yml"
# DEPLOY_URL: "https://callumwalley.github.io/support-docs-dev"
# DEPLOY_URL: "https://callumwalley.github.io/"
# HEAD: ${{ github.event.pull_request.head.ref }}
# permissions: write-all
# jobs:
Expand Down
3 changes: 0 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,4 @@
"redhat.telemetry.enabled": false,
"githubPullRequests.pushBranch": "always",
"git.useEditorAsCommitInput": false,
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "file:///workspaces/support-docs/.github/workflows/deploy.yml"
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ _One day I would like to simplify this whole thing._

A series of QA checks run on the documentation.

The checks can be started manually from the ![workflow page](https://github.com/nesi/support-docs/actions/workflows/checks.yml/badge.svg),
The checks can be started manually from the ![workflow page](https://github.com/nesi/agdr-docs/actions/workflows/checks.yml/badge.svg),
select the target branch, give the pattern of files to include, and select which checks you want done.

Checks will also be run on any _non main_ branch pushes. All checks will be run, but only on _changed_ files.
Expand Down

0 comments on commit 6e5a0cd

Please sign in to comment.