We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2bac16 commit 0d40476Copy full SHA for 0d40476
.github/workflows/sync-main.yml
@@ -33,8 +33,13 @@ jobs:
33
git config user.email "github-actions[bot]@users.noreply.github.com"
34
- name: Add and fetch upstream
35
run: |
36
- echo "::group::Fetch and set up remotes"
+ echo "::group::Fetch"
37
git fetch
38
+ git checkout main
39
+ git pull origin main
40
+ echo "::endgroup::"
41
+
42
+ echo "::group::Set up remote"
43
git remote add upstream https://github.com/github/codeql.git
44
git fetch upstream --tags --force
45
echo "::endgroup::"
0 commit comments