Skip to content

Commit

Permalink
Fix autodoc refs
Browse files Browse the repository at this point in the history
  • Loading branch information
Daisuke Maki committed Oct 8, 2024
1 parent 7ed80af commit dc991a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/autodoc.pl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
system("git", "remote", "set-url", "origin", "https://github-actions:$ENV{GITHUB_TOKEN}\@github.com/$ENV{GITHUB_REPOSITORY}") == 0 or die $!;
system("git", "config", "--global", "user.name", "$ENV{GITHUB_ACTOR}") == 0 or die $!;
system("git", "config", "--global", "user.email", "$ENV{GITHUB_ACTOR}\@users.noreply.github.com") == 0 or die $!;
system("git", "switch", "-c", "autodoc-pr-$ENV{GITHUB_HEAD_REF}") == 0 or die $!;
system("git", "commit", "-F", $commit_message_file->filename, @files) == 0 or die $!;
system("git", "push", "origin", "HEAD:$ENV{GITHUB_REF}") == 0 or die $!;
system("git", "push", "origin", "HEAD:autodoc-pr-$ENV{GITHUB_HEAD_REF}") == 0 or die $!;
system("gh", "pr", "create", "--base", "develop/$link_ref", "--fill") == 0 or die $!;
}
}

0 comments on commit dc991a9

Please sign in to comment.