From f974ab215385f475a0d5221d03c2d14f759f3cce Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:58:25 +0900 Subject: [PATCH 01/52] ci: add env/output for windows --- .github/scripts/setenv.ps1 | 6 +++ .github/scripts/setenv.sh | 3 ++ .github/workflows/env_with_script.yaml | 53 +++++++++++++++++++++++--- 3 files changed, 56 insertions(+), 6 deletions(-) create mode 100644 .github/scripts/setenv.ps1 diff --git a/.github/scripts/setenv.ps1 b/.github/scripts/setenv.ps1 new file mode 100644 index 00000000..6f55cde0 --- /dev/null +++ b/.github/scripts/setenv.ps1 @@ -0,0 +1,6 @@ +param( + [string]$Ref +) + +echo "GIT_TAG_SCRIPT=$($Ref -replace 'refs/heads/','')" >> $env:GITHUB_ENV +echo "git-tag=$($Ref -replace 'refs/heads/','')" >> $env:GITHUB_OUTPUT diff --git a/.github/scripts/setenv.sh b/.github/scripts/setenv.sh index 57dbd6e1..b44457b8 100644 --- a/.github/scripts/setenv.sh +++ b/.github/scripts/setenv.sh @@ -1,4 +1,6 @@ #!/bin/bash +set -eux + while [ $# -gt 0 ]; do case $1 in --ref) GITHUB_REF=$2; shift 2; ;; @@ -7,3 +9,4 @@ while [ $# -gt 0 ]; do done echo GIT_TAG_SCRIPT=${GITHUB_REF##*/} >> "$GITHUB_ENV" +echo git-tag=${GITHUB_REF##*/} >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index 7432b1c7..df5c12d2 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -5,13 +5,54 @@ on: branches: ["main"] pull_request: branches: ["main"] + jobs: - build: + ubuntu: runs-on: ubuntu-latest timeout-minutes: 3 steps: - - uses: actions/checkout@v4 - - run: echo "GIT_TAG=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" - - run: echo ${{ env.GIT_TAG }} - - run: bash -eux .github/scripts/setenv.sh --ref "${GITHUB_REF#refs/heads/}" - - run: echo ${{ env.GIT_TAG_SCRIPT }} + - name: Add ENV and OUTPUT + id: tag + run: | + echo "GIT_TAG=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" + echo "git-tag=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" + - name: Show ENV and OUTPUT + run: | + echo ${{ env.GIT_TAG }} + echo ${{ steps.tag.outputs.git-tag }} + - name: Add ENV and OUTPUT by Script + id: tag-script + run: bash ./.github/scripts/setenv.sh --ref "${GITHUB_REF#refs/heads/}" + - name: Show ENV and OUTPUT + run: | + echo ${{ env.GIT_TAG_SCRIPT }} + echo ${{ steps.tag-script.outputs.git-tag }} + - name: Add PATH + run: echo "$HOME/foo/bar" >> "$GITHUB_PATH" + - name: Show PATH + run: echo $PATH + + windows: + runs-on: windows-latest + timeout-minutes: 3 + steps: + - name: Add ENV and OUTPUT + id: tag + run: | + echo "GIT_TAG=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> $env:GITHUB_ENV + echo "git-tag=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> $env:GITHUB_OUTPUT + - name: Show ENV and OUTPUT + run: | + echo ${{ env.GIT_TAG }} + echo ${{ steps.tag.outputs.git-tag }} + - name: Add ENV and OUTPUT by Script + id: tag-script + run: ./.github/scripts/setenv.ps1 -Ref $env:GITHUB_REF + - name: Show ENV and OUTPUT + run: | + echo ${{ env.GIT_TAG_SCRIPT }} + echo ${{ steps.tag-script.outputs.git-tag }} + - name: Add PATH + run: echo "$HOME/foo/bar" >> $env:GITHUB_PATH + - name: Show PATH + run: echo $env:PATH From c2970fb1c8c67ab51536f227d787327011d0c5ac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 03:59:01 +0000 Subject: [PATCH 02/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 51 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a2cd4e0c..69cdbbd5 100644 --- a/README.md +++ b/README.md @@ -444,6 +444,8 @@ This syntax can be write in the script, let's see `.github/scripts/setenv.sh`. # .github/scripts/setenv.sh #!/bin/bash +set -eux + while [ $# -gt 0 ]; do case $1 in --ref) GITHUB_REF=$2; shift 2; ;; @@ -452,6 +454,7 @@ while [ $# -gt 0 ]; do done echo GIT_TAG_SCRIPT=${GITHUB_REF##*/} >> "$GITHUB_ENV" +echo git-tag=${GITHUB_REF##*/} >> "$GITHUB_OUTPUT" ``` @@ -467,16 +470,58 @@ on: branches: ["main"] pull_request: branches: ["main"] + jobs: - build: + ubuntu: runs-on: ubuntu-latest timeout-minutes: 3 steps: - - uses: actions/checkout@v4 - - run: echo "GIT_TAG=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" - - run: echo ${{ env.GIT_TAG }} - - run: bash -eux .github/scripts/setenv.sh --ref "${GITHUB_REF#refs/heads/}" - - run: echo ${{ env.GIT_TAG_SCRIPT }} + - name: Add ENV and OUTPUT + id: tag + run: | + echo "GIT_TAG=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" + echo "git-tag=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" + - name: Show ENV and OUTPUT + run: | + echo ${{ env.GIT_TAG }} + echo ${{ steps.tag.outputs.git-tag }} + - name: Add ENV and OUTPUT by Script + id: tag-script + run: bash ./.github/scripts/setenv.sh --ref "${GITHUB_REF#refs/heads/}" + - name: Show ENV and OUTPUT + run: | + echo ${{ env.GIT_TAG_SCRIPT }} + echo ${{ steps.tag-script.outputs.git-tag }} + - name: Add PATH + run: echo "$HOME/foo/bar" >> "$GITHUB_PATH" + - name: Show PATH + run: echo $PATH + + windows: + runs-on: windows-latest + timeout-minutes: 3 + steps: + - name: Add ENV and OUTPUT + id: tag + run: | + echo "GIT_TAG=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> $env:GITHUB_ENV + echo "git-tag=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> $env:GITHUB_OUTPUT + - name: Show ENV and OUTPUT + run: | + echo ${{ env.GIT_TAG }} + echo ${{ steps.tag.outputs.git-tag }} + - name: Add ENV and OUTPUT by Script + id: tag-script + run: ./.github/scripts/setenv.ps1 -Ref $env:GITHUB_REF + - name: Show ENV and OUTPUT + run: | + echo ${{ env.GIT_TAG_SCRIPT }} + echo ${{ steps.tag-script.outputs.git-tag }} + - name: Add PATH + run: echo "$HOME/foo/bar" >> $env:GITHUB_PATH + - name: Show PATH + run: echo $env:PATH + ``` `echo ${{ env.GIT_TAG_SCRIPT }}` will output `chore/context_in_script` as expected. From 5ae994ac016792230178e00afaaa49b482d3c3e2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 03:59:13 +0000 Subject: [PATCH 03/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=opened) --- contexts/export/pull_request_opened.sh | 36 ++++---- contexts/github/pull_request_opened.json | 108 +++++++++++------------ contexts/runner/pull_request_opened.json | 2 +- 3 files changed, 73 insertions(+), 73 deletions(-) diff --git a/contexts/export/pull_request_opened.sh b/contexts/export/pull_request_opened.sh index e3640b6b..0185f37d 100644 --- a/contexts/export/pull_request_opened.sh +++ b/contexts/export/pull_request_opened.sh @@ -31,16 +31,16 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_37b7e306-6592-4b9c-946f-1d25de9abb67" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_dcdf0284-d4a4-4558-a0f0-c05545abaf2e" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" -declare -x GITHUB_HEAD_REF="feature/doc" +declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_37b7e306-6592-4b9c-946f-1d25de9abb67" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_37b7e306-6592-4b9c-946f-1d25de9abb67" -declare -x GITHUB_REF="refs/pull/127/merge" -declare -x GITHUB_REF_NAME="127/merge" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_dcdf0284-d4a4-4558-a0f0-c05545abaf2e" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_dcdf0284-d4a4-4558-a0f0-c05545abaf2e" +declare -x GITHUB_REF="refs/pull/128/merge" +declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" declare -x GITHUB_REF_TYPE="branch" declare -x GITHUB_REPOSITORY="guitarrapc/githubactions-lab" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6793025216" -declare -x GITHUB_RUN_NUMBER="382" +declare -x GITHUB_RUN_ID="6793559829" +declare -x GITHUB_RUN_NUMBER="390" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="d5f20104641eeafad38538f1a58d84a9b9cd5538" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_37b7e306-6592-4b9c-946f-1d25de9abb67" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_37b7e306-6592-4b9c-946f-1d25de9abb67" +declare -x GITHUB_SHA="657af584390d0d9846ae0ddb1f0daf7a724dbb7d" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_dcdf0284-d4a4-4558-a0f0-c05545abaf2e" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_dcdf0284-d4a4-4558-a0f0-c05545abaf2e" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" -declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/127/merge" -declare -x GITHUB_WORKFLOW_SHA="d5f20104641eeafad38538f1a58d84a9b9cd5538" +declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" +declare -x GITHUB_WORKFLOW_SHA="657af584390d0d9846ae0ddb1f0daf7a724dbb7d" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="58af621b3c54463baed6659fe145207c" +declare -x INVOCATION_ID="709dfeceeae74cdeb32f74d16ce5c494" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17628" +declare -x JOURNAL_STREAM="8:18949" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 21" +declare -x RUNNER_NAME="GitHub Actions 23" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_22add1a7-d3f8-475b-9c60-b003d488e4b4" +declare -x RUNNER_TRACKING_ID="github_1f2e650c-1a6b-4356-bf46-c57da7640903" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -111,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="566" +declare -x SYSTEMD_EXEC_PID="591" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_opened.json b/contexts/github/pull_request_opened.json index 1a3648ff..c9ae510f 100644 --- a/contexts/github/pull_request_opened.json +++ b/contexts/github/pull_request_opened.json @@ -1,14 +1,14 @@ { - "token": "ghs_3SLp7Fk9tsqvysB9nvLs6ZUwagXZtH4RRcRX", + "token": "ghs_txPmDWSYJvQecNqQULhChGBgNtvfBC2mL1Ya", "job": "dump-context", - "ref": "refs/pull/127/merge", - "sha": "d5f20104641eeafad38538f1a58d84a9b9cd5538", + "ref": "refs/pull/128/merge", + "sha": "657af584390d0d9846ae0ddb1f0daf7a724dbb7d", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6793025216", - "run_number": "382", + "run_id": "6793559829", + "run_number": "390", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -20,41 +20,41 @@ "actor": "guitarrapc", "triggering_actor": "guitarrapc", "workflow": "auto dump context", - "head_ref": "feature/doc", + "head_ref": "feature/env", "base_ref": "main", "event_name": "pull_request", "event": { "action": "opened", - "number": 127, + "number": 128, "pull_request": { "_links": { "comments": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/127/comments" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments" }, "commits": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127/commits" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits" }, "html": { - "href": "https://github.com/guitarrapc/githubactions-lab/pull/127" + "href": "https://github.com/guitarrapc/githubactions-lab/pull/128" }, "issue": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/127" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128" }, "review_comment": { "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/comments{/number}" }, "review_comments": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127/comments" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments" }, "self": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/0ca029c424b1ea237a370c7e1c51eb41d1798a60" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/f974ab215385f475a0d5221d03c2d14f759f3cce" } }, "active_lock_reason": null, - "additions": 22, + "additions": 56, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -155,9 +155,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T02:32:13Z", + "pushed_at": "2023-11-08T03:58:36Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1050, + "size": 1116, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -181,7 +181,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "25b670908e0950db70f3f469726f7fe37015876c", + "sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -204,19 +204,19 @@ } }, "body": null, - "changed_files": 1, + "changed_files": 3, "closed_at": null, "comments": 0, - "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/127/comments", + "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", "commits": 1, - "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127/commits", - "created_at": "2023-11-08T02:32:12Z", - "deletions": 0, - "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/127.diff", + "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", + "created_at": "2023-11-08T03:58:36Z", + "deletions": 6, + "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { - "label": "guitarrapc:feature/doc", - "ref": "feature/doc", + "label": "guitarrapc:feature/env", + "ref": "feature/env", "repo": { "allow_auto_merge": false, "allow_forking": true, @@ -310,9 +310,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T02:32:13Z", + "pushed_at": "2023-11-08T03:58:36Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1050, + "size": 1116, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -336,7 +336,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "0ca029c424b1ea237a370c7e1c51eb41d1798a60", + "sha": "f974ab215385f475a0d5221d03c2d14f759f3cce", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -358,33 +358,33 @@ "url": "https://api.github.com/users/guitarrapc" } }, - "html_url": "https://github.com/guitarrapc/githubactions-lab/pull/127", - "id": 1591714820, - "issue_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/127", + "html_url": "https://github.com/guitarrapc/githubactions-lab/pull/128", + "id": 1591781010, + "issue_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128", "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "d5f20104641eeafad38538f1a58d84a9b9cd5538", - "mergeable": true, - "mergeable_state": "unstable", + "merge_commit_sha": null, + "mergeable": null, + "mergeable_state": "unknown", "merged": false, "merged_at": null, "merged_by": null, "milestone": null, - "node_id": "PR_kwDOD1icfM5e36QE", - "number": 127, - "patch_url": "https://github.com/guitarrapc/githubactions-lab/pull/127.patch", - "rebaseable": true, + "node_id": "PR_kwDOD1icfM5e4KaS", + "number": 128, + "patch_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.patch", + "rebaseable": null, "requested_reviewers": [], "requested_teams": [], "review_comment_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/comments{/number}", "review_comments": 0, - "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127/comments", + "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/0ca029c424b1ea237a370c7e1c51eb41d1798a60", - "title": "doc: Dependabot", - "updated_at": "2023-11-08T02:32:12Z", - "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/f974ab215385f475a0d5221d03c2d14f759f3cce", + "title": "ci: add env/output for windows", + "updated_at": "2023-11-08T03:58:36Z", + "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -491,9 +491,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T02:32:13Z", + "pushed_at": "2023-11-08T03:58:36Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1050, + "size": 1116, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", "stargazers_count": 32, "stargazers_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/stargazers", @@ -538,20 +538,20 @@ "server_url": "https://github.com", "api_url": "https://api.github.com", "graphql_url": "https://api.github.com/graphql", - "ref_name": "127/merge", + "ref_name": "128/merge", "ref_protected": false, "ref_type": "branch", "secret_source": "Actions", - "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/127/merge", - "workflow_sha": "d5f20104641eeafad38538f1a58d84a9b9cd5538", + "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", + "workflow_sha": "657af584390d0d9846ae0ddb1f0daf7a724dbb7d", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_37b7e306-6592-4b9c-946f-1d25de9abb67", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_37b7e306-6592-4b9c-946f-1d25de9abb67", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_37b7e306-6592-4b9c-946f-1d25de9abb67", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_37b7e306-6592-4b9c-946f-1d25de9abb67", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_37b7e306-6592-4b9c-946f-1d25de9abb67" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_dcdf0284-d4a4-4558-a0f0-c05545abaf2e", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_dcdf0284-d4a4-4558-a0f0-c05545abaf2e", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_dcdf0284-d4a4-4558-a0f0-c05545abaf2e", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_dcdf0284-d4a4-4558-a0f0-c05545abaf2e", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_dcdf0284-d4a4-4558-a0f0-c05545abaf2e" } diff --git a/contexts/runner/pull_request_opened.json b/contexts/runner/pull_request_opened.json index 1ccf5479..556cdfc2 100644 --- a/contexts/runner/pull_request_opened.json +++ b/contexts/runner/pull_request_opened.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 21", + "name": "GitHub Actions 23", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 7f999d64c9b05db7ef0989e397d215b1ebadbd5f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 03:59:15 +0000 Subject: [PATCH 04/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=opened) --- contexts/export/pull_request_target_opened.sh | 30 +++--- .../github/pull_request_target_opened.json | 102 +++++++++--------- .../runner/pull_request_target_opened.json | 2 +- 3 files changed, 67 insertions(+), 67 deletions(-) diff --git a/contexts/export/pull_request_target_opened.sh b/contexts/export/pull_request_target_opened.sh index 246f9c15..104b53c7 100644 --- a/contexts/export/pull_request_target_opened.sh +++ b/contexts/export/pull_request_target_opened.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_aaf45360-bb26-4804-8dc6-aeb4a3481b7f" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_075a9312-16d2-4d6f-a6b6-fcebf76d347b" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" -declare -x GITHUB_HEAD_REF="feature/doc" +declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_aaf45360-bb26-4804-8dc6-aeb4a3481b7f" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_aaf45360-bb26-4804-8dc6-aeb4a3481b7f" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_075a9312-16d2-4d6f-a6b6-fcebf76d347b" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_075a9312-16d2-4d6f-a6b6-fcebf76d347b" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6793025256" -declare -x GITHUB_RUN_NUMBER="383" +declare -x GITHUB_RUN_ID="6793559825" +declare -x GITHUB_RUN_NUMBER="389" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="25b670908e0950db70f3f469726f7fe37015876c" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_aaf45360-bb26-4804-8dc6-aeb4a3481b7f" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_aaf45360-bb26-4804-8dc6-aeb4a3481b7f" +declare -x GITHUB_SHA="3c83bfce67ceb372aced2afa7014f29ff9802be3" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_075a9312-16d2-4d6f-a6b6-fcebf76d347b" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_075a9312-16d2-4d6f-a6b6-fcebf76d347b" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" -declare -x GITHUB_WORKFLOW_SHA="25b670908e0950db70f3f469726f7fe37015876c" +declare -x GITHUB_WORKFLOW_SHA="3c83bfce67ceb372aced2afa7014f29ff9802be3" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="d26583a71b304d91b3b46431d953a414" +declare -x INVOCATION_ID="4d65d85eab424519989926e367eeea86" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17221" +declare -x JOURNAL_STREAM="8:17401" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 31" +declare -x RUNNER_NAME="GitHub Actions 24" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_f26ac336-a6e8-4ec7-bc2f-68e9d854b2a8" +declare -x RUNNER_TRACKING_ID="github_e9568c9d-1b5f-44d2-865e-b1ed347dcf85" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -111,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="595" +declare -x SYSTEMD_EXEC_PID="581" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_opened.json b/contexts/github/pull_request_target_opened.json index c77c61b0..08e14b3e 100644 --- a/contexts/github/pull_request_target_opened.json +++ b/contexts/github/pull_request_target_opened.json @@ -1,14 +1,14 @@ { - "token": "ghs_NtQSowB3MVakVSILEgWTCQZAdlQwRH0lDaU9", + "token": "ghs_ZSXqeFSz2ddkcoG9TNVPhruh9a6sd73IelWf", "job": "dump-context", "ref": "refs/heads/main", - "sha": "25b670908e0950db70f3f469726f7fe37015876c", + "sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6793025256", - "run_number": "383", + "run_id": "6793559825", + "run_number": "389", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -20,41 +20,41 @@ "actor": "guitarrapc", "triggering_actor": "guitarrapc", "workflow": "auto dump context", - "head_ref": "feature/doc", + "head_ref": "feature/env", "base_ref": "main", "event_name": "pull_request_target", "event": { "action": "opened", - "number": 127, + "number": 128, "pull_request": { "_links": { "comments": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/127/comments" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments" }, "commits": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127/commits" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits" }, "html": { - "href": "https://github.com/guitarrapc/githubactions-lab/pull/127" + "href": "https://github.com/guitarrapc/githubactions-lab/pull/128" }, "issue": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/127" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128" }, "review_comment": { "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/comments{/number}" }, "review_comments": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127/comments" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments" }, "self": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/0ca029c424b1ea237a370c7e1c51eb41d1798a60" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/f974ab215385f475a0d5221d03c2d14f759f3cce" } }, "active_lock_reason": null, - "additions": 22, + "additions": 56, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -155,9 +155,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T02:32:13Z", + "pushed_at": "2023-11-08T03:58:36Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1050, + "size": 1116, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -181,7 +181,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "25b670908e0950db70f3f469726f7fe37015876c", + "sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -204,19 +204,19 @@ } }, "body": null, - "changed_files": 1, + "changed_files": 3, "closed_at": null, "comments": 0, - "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/127/comments", + "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", "commits": 1, - "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127/commits", - "created_at": "2023-11-08T02:32:12Z", - "deletions": 0, - "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/127.diff", + "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", + "created_at": "2023-11-08T03:58:36Z", + "deletions": 6, + "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { - "label": "guitarrapc:feature/doc", - "ref": "feature/doc", + "label": "guitarrapc:feature/env", + "ref": "feature/env", "repo": { "allow_auto_merge": false, "allow_forking": true, @@ -310,9 +310,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T02:32:13Z", + "pushed_at": "2023-11-08T03:58:36Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1050, + "size": 1116, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -336,7 +336,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "0ca029c424b1ea237a370c7e1c51eb41d1798a60", + "sha": "f974ab215385f475a0d5221d03c2d14f759f3cce", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -358,33 +358,33 @@ "url": "https://api.github.com/users/guitarrapc" } }, - "html_url": "https://github.com/guitarrapc/githubactions-lab/pull/127", - "id": 1591714820, - "issue_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/127", + "html_url": "https://github.com/guitarrapc/githubactions-lab/pull/128", + "id": 1591781010, + "issue_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128", "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "d5f20104641eeafad38538f1a58d84a9b9cd5538", - "mergeable": true, - "mergeable_state": "unstable", + "merge_commit_sha": null, + "mergeable": null, + "mergeable_state": "unknown", "merged": false, "merged_at": null, "merged_by": null, "milestone": null, - "node_id": "PR_kwDOD1icfM5e36QE", - "number": 127, - "patch_url": "https://github.com/guitarrapc/githubactions-lab/pull/127.patch", - "rebaseable": true, + "node_id": "PR_kwDOD1icfM5e4KaS", + "number": 128, + "patch_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.patch", + "rebaseable": null, "requested_reviewers": [], "requested_teams": [], "review_comment_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/comments{/number}", "review_comments": 0, - "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127/comments", + "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/0ca029c424b1ea237a370c7e1c51eb41d1798a60", - "title": "doc: Dependabot", - "updated_at": "2023-11-08T02:32:12Z", - "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/127", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/f974ab215385f475a0d5221d03c2d14f759f3cce", + "title": "ci: add env/output for windows", + "updated_at": "2023-11-08T03:58:36Z", + "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -491,9 +491,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T02:32:13Z", + "pushed_at": "2023-11-08T03:58:36Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1050, + "size": 1116, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", "stargazers_count": 32, "stargazers_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/stargazers", @@ -543,15 +543,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main", - "workflow_sha": "25b670908e0950db70f3f469726f7fe37015876c", + "workflow_sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_aaf45360-bb26-4804-8dc6-aeb4a3481b7f", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_aaf45360-bb26-4804-8dc6-aeb4a3481b7f", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_aaf45360-bb26-4804-8dc6-aeb4a3481b7f", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_aaf45360-bb26-4804-8dc6-aeb4a3481b7f", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_aaf45360-bb26-4804-8dc6-aeb4a3481b7f" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_075a9312-16d2-4d6f-a6b6-fcebf76d347b", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_075a9312-16d2-4d6f-a6b6-fcebf76d347b", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_075a9312-16d2-4d6f-a6b6-fcebf76d347b", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_075a9312-16d2-4d6f-a6b6-fcebf76d347b", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_075a9312-16d2-4d6f-a6b6-fcebf76d347b" } diff --git a/contexts/runner/pull_request_target_opened.json b/contexts/runner/pull_request_target_opened.json index e4fa5fe7..654e15df 100644 --- a/contexts/runner/pull_request_target_opened.json +++ b/contexts/runner/pull_request_target_opened.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 31", + "name": "GitHub Actions 24", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 24c3f00474c747702a2aad8b2de21a4ac8e3ac85 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 14:19:05 +0900 Subject: [PATCH 05/52] ci: actionlint validation --- .github/workflows/env_with_script.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index df5c12d2..5a96bd86 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -30,7 +30,7 @@ jobs: - name: Add PATH run: echo "$HOME/foo/bar" >> "$GITHUB_PATH" - name: Show PATH - run: echo $PATH + run: echo "$PATH" windows: runs-on: windows-latest @@ -39,20 +39,20 @@ jobs: - name: Add ENV and OUTPUT id: tag run: | - echo "GIT_TAG=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> $env:GITHUB_ENV - echo "git-tag=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> $env:GITHUB_OUTPUT + echo "GIT_TAG=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_ENV}" + echo "git-tag=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_OUTPUT}" - name: Show ENV and OUTPUT run: | - echo ${{ env.GIT_TAG }} - echo ${{ steps.tag.outputs.git-tag }} + echo "${{ env.GIT_TAG }}" + echo "${{ steps.tag.outputs.git-tag }}" - name: Add ENV and OUTPUT by Script id: tag-script - run: ./.github/scripts/setenv.ps1 -Ref $env:GITHUB_REF + run: ./.github/scripts/setenv.ps1 -Ref "${env:GITHUB_REF}" - name: Show ENV and OUTPUT run: | - echo ${{ env.GIT_TAG_SCRIPT }} - echo ${{ steps.tag-script.outputs.git-tag }} + echo "${{ env.GIT_TAG_SCRIPT }}" + echo "${{ steps.tag-script.outputs.git-tag }}" - name: Add PATH - run: echo "$HOME/foo/bar" >> $env:GITHUB_PATH + run: echo "$HOME/foo/bar" >> "${env:GITHUB_PATH}" - name: Show PATH - run: echo $env:PATH + run: echo "${env:PATH}" From 9a609b1befd0df7505ed171ab4a67caf5cbd0b9d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 05:19:34 +0000 Subject: [PATCH 06/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 33 +++--- .../pull_request_target_synchronize.json | 106 +++++++++--------- .../pull_request_target_synchronize.json | 2 +- 3 files changed, 71 insertions(+), 70 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index 4e9c56ec..8b9e8178 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -23,7 +23,7 @@ declare -x DOTNET_SKIP_FIRST_TIME_EXPERIENCE="1" declare -x EDGEWEBDRIVER="/usr/local/share/edge_driver" declare -x GECKOWEBDRIVER="/usr/local/share/gecko_driver" declare -x GHCUP_INSTALL_BASE_PREFIX="/usr/local" -declare -x GITHUB_ACTION="__run_3" +declare -x GITHUB_ACTION="__run" declare -x GITHUB_ACTIONS="true" declare -x GITHUB_ACTION_REF="" declare -x GITHUB_ACTION_REPOSITORY="" @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_38d78897-628e-4bc5-a666-5eec0444469e" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" -declare -x GITHUB_HEAD_REF="feature/dependabot" +declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_38d78897-628e-4bc5-a666-5eec0444469e" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_38d78897-628e-4bc5-a666-5eec0444469e" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6782649783" -declare -x GITHUB_RUN_NUMBER="271" +declare -x GITHUB_RUN_ID="6794104337" +declare -x GITHUB_RUN_NUMBER="391" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="a73b5857ba790ba6ebaddfdfb81244440cf43646" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_38d78897-628e-4bc5-a666-5eec0444469e" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_38d78897-628e-4bc5-a666-5eec0444469e" +declare -x GITHUB_SHA="3c83bfce67ceb372aced2afa7014f29ff9802be3" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" -declare -x GITHUB_WORKFLOW_SHA="a73b5857ba790ba6ebaddfdfb81244440cf43646" +declare -x GITHUB_WORKFLOW_SHA="3c83bfce67ceb372aced2afa7014f29ff9802be3" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="e832e6ca79044a21b15495c31caebe76" +declare -x INVOCATION_ID="a435ae49166a473d9d99e7bfd6d4a45e" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17931" +declare -x JOURNAL_STREAM="8:17637" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,17 +90,18 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 5" +declare -x RUNNER_NAME="GitHub Actions 11" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_25449533-21b7-4af4-bfdf-6ea3a8e0eb8b" +declare -x RUNNER_TRACKING_ID="github_f766f0f4-d890-412d-b136-0730238c2e86" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" declare -x SGX_AESM_ADDR="1" declare -x SHLVL="1" +declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" declare -x STATS_RDCL="true" @@ -110,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="594" +declare -x SYSTEMD_EXEC_PID="574" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index a2d24477..d39bc6ec 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_dU9bnQ8qNRmZplHyEQTkT4kNgji5Ze3T7thX", + "token": "ghs_2wvaAEBSU34dfa0lvXrZIoRUpynle53CJR0c", "job": "dump-context", "ref": "refs/heads/main", - "sha": "a73b5857ba790ba6ebaddfdfb81244440cf43646", + "sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6782649783", - "run_number": "271", + "run_id": "6794104337", + "run_number": "391", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -20,43 +20,43 @@ "actor": "guitarrapc", "triggering_actor": "guitarrapc", "workflow": "auto dump context", - "head_ref": "feature/dependabot", + "head_ref": "feature/env", "base_ref": "main", "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "daa98a40a79daa2d404de5510d88f35e756e4b52", - "before": "1237d6066860e4d248a90d33d3b2ed53bf241ee1", - "number": 118, + "after": "24c3f00474c747702a2aad8b2de21a4ac8e3ac85", + "before": "7f999d64c9b05db7ef0989e397d215b1ebadbd5f", + "number": 128, "pull_request": { "_links": { "comments": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/118/comments" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments" }, "commits": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118/commits" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits" }, "html": { - "href": "https://github.com/guitarrapc/githubactions-lab/pull/118" + "href": "https://github.com/guitarrapc/githubactions-lab/pull/128" }, "issue": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/118" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128" }, "review_comment": { "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/comments{/number}" }, "review_comments": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118/comments" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments" }, "self": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daa98a40a79daa2d404de5510d88f35e756e4b52" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/24c3f00474c747702a2aad8b2de21a4ac8e3ac85" } }, "active_lock_reason": null, - "additions": 250, + "additions": 247, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,9 +157,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-07T09:42:27Z", + "pushed_at": "2023-11-08T05:19:07Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1006, + "size": 1141, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -183,7 +183,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "a73b5857ba790ba6ebaddfdfb81244440cf43646", + "sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -206,19 +206,19 @@ } }, "body": null, - "changed_files": 13, + "changed_files": 10, "closed_at": null, "comments": 0, - "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/118/comments", - "commits": 14, - "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118/commits", - "created_at": "2023-11-07T08:44:47Z", - "deletions": 238, - "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/118.diff", + "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", + "commits": 5, + "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", + "created_at": "2023-11-08T03:58:36Z", + "deletions": 152, + "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { - "label": "guitarrapc:feature/dependabot", - "ref": "feature/dependabot", + "label": "guitarrapc:feature/env", + "ref": "feature/env", "repo": { "allow_auto_merge": false, "allow_forking": true, @@ -312,9 +312,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-07T09:42:27Z", + "pushed_at": "2023-11-08T05:19:07Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1006, + "size": 1141, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "daa98a40a79daa2d404de5510d88f35e756e4b52", + "sha": "24c3f00474c747702a2aad8b2de21a4ac8e3ac85", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -360,33 +360,33 @@ "url": "https://api.github.com/users/guitarrapc" } }, - "html_url": "https://github.com/guitarrapc/githubactions-lab/pull/118", - "id": 1590123960, - "issue_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/118", + "html_url": "https://github.com/guitarrapc/githubactions-lab/pull/128", + "id": 1591781010, + "issue_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128", "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "0f548fa756e6192a765225d877e1faebe8510117", + "merge_commit_sha": "53576b7705cf94af93615c063f3e63ad60bedcbd", "mergeable": null, "mergeable_state": "unknown", "merged": false, "merged_at": null, "merged_by": null, "milestone": null, - "node_id": "PR_kwDOD1icfM5ex124", - "number": 118, - "patch_url": "https://github.com/guitarrapc/githubactions-lab/pull/118.patch", + "node_id": "PR_kwDOD1icfM5e4KaS", + "number": 128, + "patch_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.patch", "rebaseable": null, "requested_reviewers": [], "requested_teams": [], "review_comment_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/comments{/number}", - "review_comments": 0, - "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118/comments", + "review_comments": 1, + "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daa98a40a79daa2d404de5510d88f35e756e4b52", - "title": "feat: use dependabot to update github actions", - "updated_at": "2023-11-07T09:42:29Z", - "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/24c3f00474c747702a2aad8b2de21a4ac8e3ac85", + "title": "ci: add env/output for windows", + "updated_at": "2023-11-08T05:19:09Z", + "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -493,9 +493,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-07T09:42:27Z", + "pushed_at": "2023-11-08T05:19:07Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1006, + "size": 1141, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", "stargazers_count": 32, "stargazers_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/stargazers", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main", - "workflow_sha": "a73b5857ba790ba6ebaddfdfb81244440cf43646", + "workflow_sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", - "action": "__run_4", + "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_38d78897-628e-4bc5-a666-5eec0444469e", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_38d78897-628e-4bc5-a666-5eec0444469e", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_38d78897-628e-4bc5-a666-5eec0444469e", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_38d78897-628e-4bc5-a666-5eec0444469e", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_38d78897-628e-4bc5-a666-5eec0444469e" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" } diff --git a/contexts/runner/pull_request_target_synchronize.json b/contexts/runner/pull_request_target_synchronize.json index d113350b..620960e6 100644 --- a/contexts/runner/pull_request_target_synchronize.json +++ b/contexts/runner/pull_request_target_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 5", + "name": "GitHub Actions 11", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From c2f1a9d6f6d6c3b3020ef8f4cd5cf83a49e09676 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 05:19:39 +0000 Subject: [PATCH 07/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 69cdbbd5..a71fe2f4 100644 --- a/README.md +++ b/README.md @@ -495,7 +495,7 @@ jobs: - name: Add PATH run: echo "$HOME/foo/bar" >> "$GITHUB_PATH" - name: Show PATH - run: echo $PATH + run: echo "$PATH" windows: runs-on: windows-latest @@ -504,23 +504,23 @@ jobs: - name: Add ENV and OUTPUT id: tag run: | - echo "GIT_TAG=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> $env:GITHUB_ENV - echo "git-tag=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> $env:GITHUB_OUTPUT + echo "GIT_TAG=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_ENV}" + echo "git-tag=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_OUTPUT}" - name: Show ENV and OUTPUT run: | - echo ${{ env.GIT_TAG }} - echo ${{ steps.tag.outputs.git-tag }} + echo "${{ env.GIT_TAG }}" + echo "${{ steps.tag.outputs.git-tag }}" - name: Add ENV and OUTPUT by Script id: tag-script - run: ./.github/scripts/setenv.ps1 -Ref $env:GITHUB_REF + run: ./.github/scripts/setenv.ps1 -Ref "${env:GITHUB_REF}" - name: Show ENV and OUTPUT run: | - echo ${{ env.GIT_TAG_SCRIPT }} - echo ${{ steps.tag-script.outputs.git-tag }} + echo "${{ env.GIT_TAG_SCRIPT }}" + echo "${{ steps.tag-script.outputs.git-tag }}" - name: Add PATH - run: echo "$HOME/foo/bar" >> $env:GITHUB_PATH + run: echo "$HOME/foo/bar" >> "${env:GITHUB_PATH}" - name: Show PATH - run: echo $env:PATH + run: echo "${env:PATH}" ``` From 9382cf12ea5173842bff444b5fa9aeda64c93589 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 05:19:50 +0000 Subject: [PATCH 08/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 36 +++--- contexts/github/pull_request_synchronize.json | 110 +++++++++--------- contexts/runner/pull_request_synchronize.json | 2 +- 3 files changed, 74 insertions(+), 74 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index e237a6a8..24443294 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,16 +31,16 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_45aa394b-91a5-4afd-a417-9dae71ae6f57" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" -declare -x GITHUB_HEAD_REF="feature/dependabot" +declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_45aa394b-91a5-4afd-a417-9dae71ae6f57" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_45aa394b-91a5-4afd-a417-9dae71ae6f57" -declare -x GITHUB_REF="refs/pull/118/merge" -declare -x GITHUB_REF_NAME="118/merge" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" +declare -x GITHUB_REF="refs/pull/128/merge" +declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" declare -x GITHUB_REF_TYPE="branch" declare -x GITHUB_REPOSITORY="guitarrapc/githubactions-lab" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6782650019" -declare -x GITHUB_RUN_NUMBER="272" +declare -x GITHUB_RUN_ID="6794104532" +declare -x GITHUB_RUN_NUMBER="392" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="f5a8b806225444aca7f04e8d366a69f4dcfe9d56" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_45aa394b-91a5-4afd-a417-9dae71ae6f57" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_45aa394b-91a5-4afd-a417-9dae71ae6f57" +declare -x GITHUB_SHA="8ca605a7dad490d8450c355244c6da102ab72d65" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" -declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/118/merge" -declare -x GITHUB_WORKFLOW_SHA="f5a8b806225444aca7f04e8d366a69f4dcfe9d56" +declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" +declare -x GITHUB_WORKFLOW_SHA="8ca605a7dad490d8450c355244c6da102ab72d65" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="710ab52441da4c94a0b1e2e7f8c6f298" +declare -x INVOCATION_ID="fbc941c9411a42e08fc86a99964e2540" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:16995" +declare -x JOURNAL_STREAM="8:18758" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 24" +declare -x RUNNER_NAME="GitHub Actions 40" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_e68bcc1c-609b-4966-9e3b-eb82dad9352b" +declare -x RUNNER_TRACKING_ID="github_a24d4967-e33e-4c56-a88d-e37f2e3c3420" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -110,7 +110,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="595" +declare -x SYSTEMD_EXEC_PID="592" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index 802d3324..b038f734 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_SA2j2i1BLeIk7monNhBzrCW0iKHuGB3TDSeS", + "token": "ghs_2y27il4IDaOL67ffaL737l25mcO5hc3MaFTb", "job": "dump-context", - "ref": "refs/pull/118/merge", - "sha": "f5a8b806225444aca7f04e8d366a69f4dcfe9d56", + "ref": "refs/pull/128/merge", + "sha": "8ca605a7dad490d8450c355244c6da102ab72d65", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6782650019", - "run_number": "272", + "run_id": "6794104532", + "run_number": "392", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -20,43 +20,43 @@ "actor": "guitarrapc", "triggering_actor": "guitarrapc", "workflow": "auto dump context", - "head_ref": "feature/dependabot", + "head_ref": "feature/env", "base_ref": "main", "event_name": "pull_request", "event": { "action": "synchronize", - "after": "daa98a40a79daa2d404de5510d88f35e756e4b52", - "before": "1237d6066860e4d248a90d33d3b2ed53bf241ee1", - "number": 118, + "after": "24c3f00474c747702a2aad8b2de21a4ac8e3ac85", + "before": "7f999d64c9b05db7ef0989e397d215b1ebadbd5f", + "number": 128, "pull_request": { "_links": { "comments": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/118/comments" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments" }, "commits": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118/commits" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits" }, "html": { - "href": "https://github.com/guitarrapc/githubactions-lab/pull/118" + "href": "https://github.com/guitarrapc/githubactions-lab/pull/128" }, "issue": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/118" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128" }, "review_comment": { "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/comments{/number}" }, "review_comments": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118/comments" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments" }, "self": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daa98a40a79daa2d404de5510d88f35e756e4b52" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/24c3f00474c747702a2aad8b2de21a4ac8e3ac85" } }, "active_lock_reason": null, - "additions": 250, + "additions": 247, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,9 +157,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-07T09:42:27Z", + "pushed_at": "2023-11-08T05:19:07Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1006, + "size": 1141, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -183,7 +183,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "a73b5857ba790ba6ebaddfdfb81244440cf43646", + "sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -206,19 +206,19 @@ } }, "body": null, - "changed_files": 13, + "changed_files": 10, "closed_at": null, "comments": 0, - "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/118/comments", - "commits": 14, - "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118/commits", - "created_at": "2023-11-07T08:44:47Z", - "deletions": 238, - "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/118.diff", + "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", + "commits": 5, + "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", + "created_at": "2023-11-08T03:58:36Z", + "deletions": 152, + "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { - "label": "guitarrapc:feature/dependabot", - "ref": "feature/dependabot", + "label": "guitarrapc:feature/env", + "ref": "feature/env", "repo": { "allow_auto_merge": false, "allow_forking": true, @@ -312,9 +312,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-07T09:42:27Z", + "pushed_at": "2023-11-08T05:19:07Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1006, + "size": 1141, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "daa98a40a79daa2d404de5510d88f35e756e4b52", + "sha": "24c3f00474c747702a2aad8b2de21a4ac8e3ac85", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -360,33 +360,33 @@ "url": "https://api.github.com/users/guitarrapc" } }, - "html_url": "https://github.com/guitarrapc/githubactions-lab/pull/118", - "id": 1590123960, - "issue_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/118", + "html_url": "https://github.com/guitarrapc/githubactions-lab/pull/128", + "id": 1591781010, + "issue_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128", "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "0f548fa756e6192a765225d877e1faebe8510117", + "merge_commit_sha": "53576b7705cf94af93615c063f3e63ad60bedcbd", "mergeable": null, "mergeable_state": "unknown", "merged": false, "merged_at": null, "merged_by": null, "milestone": null, - "node_id": "PR_kwDOD1icfM5ex124", - "number": 118, - "patch_url": "https://github.com/guitarrapc/githubactions-lab/pull/118.patch", + "node_id": "PR_kwDOD1icfM5e4KaS", + "number": 128, + "patch_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.patch", "rebaseable": null, "requested_reviewers": [], "requested_teams": [], "review_comment_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/comments{/number}", - "review_comments": 0, - "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118/comments", + "review_comments": 1, + "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daa98a40a79daa2d404de5510d88f35e756e4b52", - "title": "feat: use dependabot to update github actions", - "updated_at": "2023-11-07T09:42:29Z", - "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/118", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/24c3f00474c747702a2aad8b2de21a4ac8e3ac85", + "title": "ci: add env/output for windows", + "updated_at": "2023-11-08T05:19:09Z", + "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -493,9 +493,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-07T09:42:27Z", + "pushed_at": "2023-11-08T05:19:07Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1006, + "size": 1141, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", "stargazers_count": 32, "stargazers_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/stargazers", @@ -540,20 +540,20 @@ "server_url": "https://github.com", "api_url": "https://api.github.com", "graphql_url": "https://api.github.com/graphql", - "ref_name": "118/merge", + "ref_name": "128/merge", "ref_protected": false, "ref_type": "branch", "secret_source": "Actions", - "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/118/merge", - "workflow_sha": "f5a8b806225444aca7f04e8d366a69f4dcfe9d56", + "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", + "workflow_sha": "8ca605a7dad490d8450c355244c6da102ab72d65", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_45aa394b-91a5-4afd-a417-9dae71ae6f57", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_45aa394b-91a5-4afd-a417-9dae71ae6f57", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_45aa394b-91a5-4afd-a417-9dae71ae6f57", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_45aa394b-91a5-4afd-a417-9dae71ae6f57", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_45aa394b-91a5-4afd-a417-9dae71ae6f57" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_2b529543-bfe4-4bb3-8ed3-9e0df93b176a", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_2b529543-bfe4-4bb3-8ed3-9e0df93b176a", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_2b529543-bfe4-4bb3-8ed3-9e0df93b176a", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_2b529543-bfe4-4bb3-8ed3-9e0df93b176a", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" } diff --git a/contexts/runner/pull_request_synchronize.json b/contexts/runner/pull_request_synchronize.json index 654e15df..3c9e86a8 100644 --- a/contexts/runner/pull_request_synchronize.json +++ b/contexts/runner/pull_request_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 24", + "name": "GitHub Actions 40", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 94a978838d33e228c8d739c47f5b14a0f377db71 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 14:26:57 +0900 Subject: [PATCH 09/52] chore: missing checkout --- .github/workflows/env_with_script.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index 5a96bd86..229fe827 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -11,6 +11,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 3 steps: + - uses: actions/checkout@v4 - name: Add ENV and OUTPUT id: tag run: | @@ -22,7 +23,7 @@ jobs: echo ${{ steps.tag.outputs.git-tag }} - name: Add ENV and OUTPUT by Script id: tag-script - run: bash ./.github/scripts/setenv.sh --ref "${GITHUB_REF#refs/heads/}" + run: bash .github/scripts/setenv.sh --ref "${GITHUB_REF#refs/heads/}" - name: Show ENV and OUTPUT run: | echo ${{ env.GIT_TAG_SCRIPT }} @@ -36,6 +37,7 @@ jobs: runs-on: windows-latest timeout-minutes: 3 steps: + - uses: actions/checkout@v4 - name: Add ENV and OUTPUT id: tag run: | From 501b5cc4feafe6f486ada01dc597487177110f09 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 05:27:27 +0000 Subject: [PATCH 10/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 25 ++++++----- .../pull_request_target_synchronize.json | 44 +++++++++---------- .../pull_request_target_synchronize.json | 2 +- 3 files changed, 36 insertions(+), 35 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index 8b9e8178..c6a1ebd8 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_15c13d5a-186f-4d33-813e-e2b6092cbceb" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_15c13d5a-186f-4d33-813e-e2b6092cbceb" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_15c13d5a-186f-4d33-813e-e2b6092cbceb" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,12 +49,12 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794104337" -declare -x GITHUB_RUN_NUMBER="391" +declare -x GITHUB_RUN_ID="6794165539" +declare -x GITHUB_RUN_NUMBER="393" declare -x GITHUB_SERVER_URL="https://github.com" declare -x GITHUB_SHA="3c83bfce67ceb372aced2afa7014f29ff9802be3" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_15c13d5a-186f-4d33-813e-e2b6092cbceb" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_15c13d5a-186f-4d33-813e-e2b6092cbceb" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="a435ae49166a473d9d99e7bfd6d4a45e" +declare -x INVOCATION_ID="fc13bd1d829c43a09d000e2885011d78" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17637" +declare -x JOURNAL_STREAM="8:16978" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 11" +declare -x RUNNER_NAME="GitHub Actions 5" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_f766f0f4-d890-412d-b136-0730238c2e86" +declare -x RUNNER_TRACKING_ID="github_beb0877a-bc53-46f8-ad90-46f79df9269a" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -104,6 +104,7 @@ declare -x SHLVL="1" declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" +declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -111,7 +112,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="574" +declare -x SYSTEMD_EXEC_PID="569" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index d39bc6ec..f410e664 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,5 +1,5 @@ { - "token": "ghs_2wvaAEBSU34dfa0lvXrZIoRUpynle53CJR0c", + "token": "ghs_g23Ft2aQTWZblEXGY4aY7yg0SBHzh40nZeAI", "job": "dump-context", "ref": "refs/heads/main", "sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", @@ -7,8 +7,8 @@ "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794104337", - "run_number": "391", + "run_id": "6794165539", + "run_number": "393", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "24c3f00474c747702a2aad8b2de21a4ac8e3ac85", - "before": "7f999d64c9b05db7ef0989e397d215b1ebadbd5f", + "after": "13ebedafe3987e877073c7c8d38be431b9d1ce83", + "before": "9382cf12ea5173842bff444b5fa9aeda64c93589", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/24c3f00474c747702a2aad8b2de21a4ac8e3ac85" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/13ebedafe3987e877073c7c8d38be431b9d1ce83" } }, "active_lock_reason": null, - "additions": 247, + "additions": 393, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:19:07Z", + "pushed_at": "2023-11-08T05:27:05Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1141, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -206,14 +206,14 @@ } }, "body": null, - "changed_files": 10, + "changed_files": 16, "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 5, + "commits": 10, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 152, + "deletions": 295, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:19:07Z", + "pushed_at": "2023-11-08T05:27:05Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1141, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "24c3f00474c747702a2aad8b2de21a4ac8e3ac85", + "sha": "13ebedafe3987e877073c7c8d38be431b9d1ce83", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "53576b7705cf94af93615c063f3e63ad60bedcbd", + "merge_commit_sha": "fd43c6ad910997f377b36413245be6b468271f08", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 1, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/24c3f00474c747702a2aad8b2de21a4ac8e3ac85", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/13ebedafe3987e877073c7c8d38be431b9d1ce83", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T05:19:09Z", + "updated_at": "2023-11-08T05:27:06Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:19:07Z", + "pushed_at": "2023-11-08T05:27:05Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1141, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -551,9 +551,9 @@ "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_9905b2af-6e05-4bbd-b5e2-c52ab25b0bfd" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_15c13d5a-186f-4d33-813e-e2b6092cbceb", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_15c13d5a-186f-4d33-813e-e2b6092cbceb", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_15c13d5a-186f-4d33-813e-e2b6092cbceb", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_15c13d5a-186f-4d33-813e-e2b6092cbceb", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_15c13d5a-186f-4d33-813e-e2b6092cbceb" } diff --git a/contexts/runner/pull_request_target_synchronize.json b/contexts/runner/pull_request_target_synchronize.json index 620960e6..d113350b 100644 --- a/contexts/runner/pull_request_target_synchronize.json +++ b/contexts/runner/pull_request_target_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 11", + "name": "GitHub Actions 5", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 6a0f36b58b85d80d8b1c109bc65e4b32e2665203 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 05:27:30 +0000 Subject: [PATCH 11/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a71fe2f4..54deb6db 100644 --- a/README.md +++ b/README.md @@ -476,6 +476,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 3 steps: + - uses: actions/checkout@v4 - name: Add ENV and OUTPUT id: tag run: | @@ -487,7 +488,7 @@ jobs: echo ${{ steps.tag.outputs.git-tag }} - name: Add ENV and OUTPUT by Script id: tag-script - run: bash ./.github/scripts/setenv.sh --ref "${GITHUB_REF#refs/heads/}" + run: bash .github/scripts/setenv.sh --ref "${GITHUB_REF#refs/heads/}" - name: Show ENV and OUTPUT run: | echo ${{ env.GIT_TAG_SCRIPT }} @@ -501,6 +502,7 @@ jobs: runs-on: windows-latest timeout-minutes: 3 steps: + - uses: actions/checkout@v4 - name: Add ENV and OUTPUT id: tag run: | From 89faf85af5f3888fb1ddc89167c90f4410337668 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 05:27:43 +0000 Subject: [PATCH 12/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 28 +++++------ contexts/github/pull_request_synchronize.json | 48 +++++++++---------- contexts/runner/pull_request_synchronize.json | 2 +- 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index 24443294..55e4fd4d 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" declare -x GITHUB_REF="refs/pull/128/merge" declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794104532" -declare -x GITHUB_RUN_NUMBER="392" +declare -x GITHUB_RUN_ID="6794165719" +declare -x GITHUB_RUN_NUMBER="394" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="8ca605a7dad490d8450c355244c6da102ab72d65" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" +declare -x GITHUB_SHA="15688421c40d082c11fba4f19c711492ecfd8284" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" -declare -x GITHUB_WORKFLOW_SHA="8ca605a7dad490d8450c355244c6da102ab72d65" +declare -x GITHUB_WORKFLOW_SHA="15688421c40d082c11fba4f19c711492ecfd8284" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="fbc941c9411a42e08fc86a99964e2540" +declare -x INVOCATION_ID="8a63638f37114d9083e3a45fc1c67762" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:18758" +declare -x JOURNAL_STREAM="8:18787" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 40" +declare -x RUNNER_NAME="GitHub Actions 36" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_a24d4967-e33e-4c56-a88d-e37f2e3c3420" +declare -x RUNNER_TRACKING_ID="github_60477d24-3d50-440a-808c-3d810db79da2" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -110,7 +110,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="592" +declare -x SYSTEMD_EXEC_PID="594" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index b038f734..503b33be 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_2y27il4IDaOL67ffaL737l25mcO5hc3MaFTb", + "token": "ghs_pE0JJ3Ih9NXUckrwO2Caf640ic3k5e3NFR0p", "job": "dump-context", "ref": "refs/pull/128/merge", - "sha": "8ca605a7dad490d8450c355244c6da102ab72d65", + "sha": "15688421c40d082c11fba4f19c711492ecfd8284", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794104532", - "run_number": "392", + "run_id": "6794165719", + "run_number": "394", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request", "event": { "action": "synchronize", - "after": "24c3f00474c747702a2aad8b2de21a4ac8e3ac85", - "before": "7f999d64c9b05db7ef0989e397d215b1ebadbd5f", + "after": "13ebedafe3987e877073c7c8d38be431b9d1ce83", + "before": "9382cf12ea5173842bff444b5fa9aeda64c93589", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/24c3f00474c747702a2aad8b2de21a4ac8e3ac85" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/13ebedafe3987e877073c7c8d38be431b9d1ce83" } }, "active_lock_reason": null, - "additions": 247, + "additions": 393, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:19:07Z", + "pushed_at": "2023-11-08T05:27:05Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1141, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -206,14 +206,14 @@ } }, "body": null, - "changed_files": 10, + "changed_files": 16, "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 5, + "commits": 10, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 152, + "deletions": 295, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:19:07Z", + "pushed_at": "2023-11-08T05:27:05Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1141, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "24c3f00474c747702a2aad8b2de21a4ac8e3ac85", + "sha": "13ebedafe3987e877073c7c8d38be431b9d1ce83", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "53576b7705cf94af93615c063f3e63ad60bedcbd", + "merge_commit_sha": "fd43c6ad910997f377b36413245be6b468271f08", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 1, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/24c3f00474c747702a2aad8b2de21a4ac8e3ac85", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/13ebedafe3987e877073c7c8d38be431b9d1ce83", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T05:19:09Z", + "updated_at": "2023-11-08T05:27:06Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:19:07Z", + "pushed_at": "2023-11-08T05:27:05Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1141, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", - "workflow_sha": "8ca605a7dad490d8450c355244c6da102ab72d65", + "workflow_sha": "15688421c40d082c11fba4f19c711492ecfd8284", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_2b529543-bfe4-4bb3-8ed3-9e0df93b176a", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_2b529543-bfe4-4bb3-8ed3-9e0df93b176a", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_2b529543-bfe4-4bb3-8ed3-9e0df93b176a", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_2b529543-bfe4-4bb3-8ed3-9e0df93b176a", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_2b529543-bfe4-4bb3-8ed3-9e0df93b176a" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" } diff --git a/contexts/runner/pull_request_synchronize.json b/contexts/runner/pull_request_synchronize.json index 3c9e86a8..988a668e 100644 --- a/contexts/runner/pull_request_synchronize.json +++ b/contexts/runner/pull_request_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 40", + "name": "GitHub Actions 36", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 0860ed53d1e54b9db5f9afcf8950dba6cf111dde Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 14:35:24 +0900 Subject: [PATCH 13/52] chore --- .github/workflows/env_with_script.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index 229fe827..96b20138 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -15,8 +15,13 @@ jobs: - name: Add ENV and OUTPUT id: tag run: | - echo "GIT_TAG=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" - echo "git-tag=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" + if [[ "${{ startsWith(github.event_name, 'pull_request')}}" == "true" ]]; then + echo "GIT_TAG=${GITHUB_HEAD_REF}" >> "$GITHUB_ENV" + echo "git-tag=${GITHUB_HEAD_REF}" >> "$GITHUB_OUTPUT" + else + echo "GIT_TAG=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" + echo "git-tag=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" + fi - name: Show ENV and OUTPUT run: | echo ${{ env.GIT_TAG }} From 642d914c5e23a117bbb7c3acc661a28ce2a82250 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 06:41:15 +0000 Subject: [PATCH 14/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 29 +++++----- .../pull_request_target_synchronize.json | 56 +++++++++---------- .../pull_request_target_synchronize.json | 2 +- 3 files changed, 43 insertions(+), 44 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index c6a1ebd8..be0bc353 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_15c13d5a-186f-4d33-813e-e2b6092cbceb" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_daddd79b-387f-42ec-981b-5cb790dca3d0" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_15c13d5a-186f-4d33-813e-e2b6092cbceb" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_15c13d5a-186f-4d33-813e-e2b6092cbceb" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_daddd79b-387f-42ec-981b-5cb790dca3d0" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_daddd79b-387f-42ec-981b-5cb790dca3d0" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794165539" -declare -x GITHUB_RUN_NUMBER="393" +declare -x GITHUB_RUN_ID="6794695404" +declare -x GITHUB_RUN_NUMBER="413" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="3c83bfce67ceb372aced2afa7014f29ff9802be3" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_15c13d5a-186f-4d33-813e-e2b6092cbceb" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_15c13d5a-186f-4d33-813e-e2b6092cbceb" +declare -x GITHUB_SHA="147fa89e19dc55ea8e05da5b4bf2afb63206bf0b" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_daddd79b-387f-42ec-981b-5cb790dca3d0" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_daddd79b-387f-42ec-981b-5cb790dca3d0" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" -declare -x GITHUB_WORKFLOW_SHA="3c83bfce67ceb372aced2afa7014f29ff9802be3" +declare -x GITHUB_WORKFLOW_SHA="147fa89e19dc55ea8e05da5b4bf2afb63206bf0b" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="fc13bd1d829c43a09d000e2885011d78" +declare -x INVOCATION_ID="bd5b12ff8a064b63aede3c36784735b6" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:16978" +declare -x JOURNAL_STREAM="8:18829" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 5" +declare -x RUNNER_NAME="GitHub Actions 4" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_beb0877a-bc53-46f8-ad90-46f79df9269a" +declare -x RUNNER_TRACKING_ID="github_1681d820-a915-4baf-a2b4-5c32d175aa8f" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -104,7 +104,6 @@ declare -x SHLVL="1" declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" -declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -112,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="569" +declare -x SYSTEMD_EXEC_PID="590" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index f410e664..0882fbdb 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_g23Ft2aQTWZblEXGY4aY7yg0SBHzh40nZeAI", + "token": "ghs_Yfch7FfnmyTxi9iePYz6RUzKla2ooS4DkrjF", "job": "dump-context", "ref": "refs/heads/main", - "sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", + "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794165539", - "run_number": "393", + "run_id": "6794695404", + "run_number": "413", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "13ebedafe3987e877073c7c8d38be431b9d1ce83", - "before": "9382cf12ea5173842bff444b5fa9aeda64c93589", + "after": "a88ae32815add5ce7f5f2ce3933d0b01145d1193", + "before": "89faf85af5f3888fb1ddc89167c90f4410337668", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/13ebedafe3987e877073c7c8d38be431b9d1ce83" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/a88ae32815add5ce7f5f2ce3933d0b01145d1193" } }, "active_lock_reason": null, - "additions": 393, + "additions": 619, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,9 +157,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:27:05Z", + "pushed_at": "2023-11-08T06:40:55Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1141, + "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -183,7 +183,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", + "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -206,14 +206,14 @@ } }, "body": null, - "changed_files": 16, + "changed_files": 15, "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 10, + "commits": 15, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 295, + "deletions": 152, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,9 +312,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:27:05Z", + "pushed_at": "2023-11-08T06:40:55Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1141, + "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "13ebedafe3987e877073c7c8d38be431b9d1ce83", + "sha": "a88ae32815add5ce7f5f2ce3933d0b01145d1193", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "fd43c6ad910997f377b36413245be6b468271f08", + "merge_commit_sha": "594e36abca9909f05a51ed3b3681b3734dfb27cd", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 1, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/13ebedafe3987e877073c7c8d38be431b9d1ce83", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/a88ae32815add5ce7f5f2ce3933d0b01145d1193", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T05:27:06Z", + "updated_at": "2023-11-08T06:40:56Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,9 +493,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:27:05Z", + "pushed_at": "2023-11-08T06:40:55Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1141, + "size": 1247, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", "stargazers_count": 32, "stargazers_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/stargazers", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main", - "workflow_sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", + "workflow_sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_15c13d5a-186f-4d33-813e-e2b6092cbceb", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_15c13d5a-186f-4d33-813e-e2b6092cbceb", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_15c13d5a-186f-4d33-813e-e2b6092cbceb", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_15c13d5a-186f-4d33-813e-e2b6092cbceb", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_15c13d5a-186f-4d33-813e-e2b6092cbceb" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_daddd79b-387f-42ec-981b-5cb790dca3d0", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_daddd79b-387f-42ec-981b-5cb790dca3d0", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_daddd79b-387f-42ec-981b-5cb790dca3d0", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_daddd79b-387f-42ec-981b-5cb790dca3d0", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_daddd79b-387f-42ec-981b-5cb790dca3d0" } diff --git a/contexts/runner/pull_request_target_synchronize.json b/contexts/runner/pull_request_target_synchronize.json index d113350b..02369cc6 100644 --- a/contexts/runner/pull_request_target_synchronize.json +++ b/contexts/runner/pull_request_target_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 5", + "name": "GitHub Actions 4", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 77e073eb18b6996e75abb89cf51ae7718e5ead23 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 06:41:21 +0000 Subject: [PATCH 15/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd89f201..48b64580 100644 --- a/README.md +++ b/README.md @@ -485,8 +485,13 @@ jobs: - name: Add ENV and OUTPUT id: tag run: | - echo "GIT_TAG=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" - echo "git-tag=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" + if [[ "${{ startsWith(github.event_name, 'pull_request')}}" == "true" ]]; then + echo "GIT_TAG=${GITHUB_HEAD_REF}" >> "$GITHUB_ENV" + echo "git-tag=${GITHUB_HEAD_REF}" >> "$GITHUB_OUTPUT" + else + echo "GIT_TAG=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" + echo "git-tag=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" + fi - name: Show ENV and OUTPUT run: | echo ${{ env.GIT_TAG }} From 4a519d11342c1c0273ba4bb35d28a15d1dde91eb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 06:41:34 +0000 Subject: [PATCH 16/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 30 +++++----- contexts/github/pull_request_synchronize.json | 56 +++++++++---------- contexts/runner/pull_request_synchronize.json | 2 +- 3 files changed, 45 insertions(+), 43 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index 55e4fd4d..0a138cdd 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_dd89853e-785d-49ef-b870-a743c8680503" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_dd89853e-785d-49ef-b870-a743c8680503" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_dd89853e-785d-49ef-b870-a743c8680503" declare -x GITHUB_REF="refs/pull/128/merge" declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794165719" -declare -x GITHUB_RUN_NUMBER="394" +declare -x GITHUB_RUN_ID="6794695536" +declare -x GITHUB_RUN_NUMBER="414" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="15688421c40d082c11fba4f19c711492ecfd8284" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" +declare -x GITHUB_SHA="efa3cd1a6e5ece6471d2e2692be0596a1b123694" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_dd89853e-785d-49ef-b870-a743c8680503" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_dd89853e-785d-49ef-b870-a743c8680503" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" -declare -x GITHUB_WORKFLOW_SHA="15688421c40d082c11fba4f19c711492ecfd8284" +declare -x GITHUB_WORKFLOW_SHA="efa3cd1a6e5ece6471d2e2692be0596a1b123694" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="8a63638f37114d9083e3a45fc1c67762" +declare -x INVOCATION_ID="d6cd4fe4514b45a99e55311cbbd0d654" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:18787" +declare -x JOURNAL_STREAM="8:17182" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,19 +90,21 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 36" +declare -x RUNNER_NAME="GitHub Actions 33" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_60477d24-3d50-440a-808c-3d810db79da2" +declare -x RUNNER_TRACKING_ID="github_dc188939-5203-4de5-8600-156486595c4b" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" declare -x SGX_AESM_ADDR="1" declare -x SHLVL="1" +declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" +declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -110,7 +112,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="594" +declare -x SYSTEMD_EXEC_PID="569" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index 503b33be..c20d52cf 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_pE0JJ3Ih9NXUckrwO2Caf640ic3k5e3NFR0p", + "token": "ghs_ljEEDduSegpltMk3RSyf7gSwS1pozK1UGE6u", "job": "dump-context", "ref": "refs/pull/128/merge", - "sha": "15688421c40d082c11fba4f19c711492ecfd8284", + "sha": "efa3cd1a6e5ece6471d2e2692be0596a1b123694", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794165719", - "run_number": "394", + "run_id": "6794695536", + "run_number": "414", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request", "event": { "action": "synchronize", - "after": "13ebedafe3987e877073c7c8d38be431b9d1ce83", - "before": "9382cf12ea5173842bff444b5fa9aeda64c93589", + "after": "a88ae32815add5ce7f5f2ce3933d0b01145d1193", + "before": "89faf85af5f3888fb1ddc89167c90f4410337668", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/13ebedafe3987e877073c7c8d38be431b9d1ce83" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/a88ae32815add5ce7f5f2ce3933d0b01145d1193" } }, "active_lock_reason": null, - "additions": 393, + "additions": 619, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,9 +157,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:27:05Z", + "pushed_at": "2023-11-08T06:40:55Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1141, + "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -183,7 +183,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "3c83bfce67ceb372aced2afa7014f29ff9802be3", + "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -206,14 +206,14 @@ } }, "body": null, - "changed_files": 16, + "changed_files": 15, "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 10, + "commits": 15, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 295, + "deletions": 152, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,9 +312,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:27:05Z", + "pushed_at": "2023-11-08T06:40:55Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1141, + "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "13ebedafe3987e877073c7c8d38be431b9d1ce83", + "sha": "a88ae32815add5ce7f5f2ce3933d0b01145d1193", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "fd43c6ad910997f377b36413245be6b468271f08", + "merge_commit_sha": "594e36abca9909f05a51ed3b3681b3734dfb27cd", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 1, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/13ebedafe3987e877073c7c8d38be431b9d1ce83", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/a88ae32815add5ce7f5f2ce3933d0b01145d1193", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T05:27:06Z", + "updated_at": "2023-11-08T06:40:56Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,9 +493,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T05:27:05Z", + "pushed_at": "2023-11-08T06:40:55Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1141, + "size": 1247, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", "stargazers_count": 32, "stargazers_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/stargazers", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", - "workflow_sha": "15688421c40d082c11fba4f19c711492ecfd8284", + "workflow_sha": "efa3cd1a6e5ece6471d2e2692be0596a1b123694", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_7b2e2b49-bba4-4fb0-a9e9-da18d6d2908b" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_dd89853e-785d-49ef-b870-a743c8680503", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_dd89853e-785d-49ef-b870-a743c8680503", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_dd89853e-785d-49ef-b870-a743c8680503", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_dd89853e-785d-49ef-b870-a743c8680503", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_dd89853e-785d-49ef-b870-a743c8680503" } diff --git a/contexts/runner/pull_request_synchronize.json b/contexts/runner/pull_request_synchronize.json index 988a668e..634af829 100644 --- a/contexts/runner/pull_request_synchronize.json +++ b/contexts/runner/pull_request_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 36", + "name": "GitHub Actions 33", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 15:52:43 +0900 Subject: [PATCH 17/52] ci: replce --- .github/scripts/setenv.ps1 | 4 +-- .github/scripts/setenv.sh | 4 +-- .github/workflows/env_with_script.yaml | 47 ++++++++++++++------------ 3 files changed, 30 insertions(+), 25 deletions(-) diff --git a/.github/scripts/setenv.ps1 b/.github/scripts/setenv.ps1 index 6f55cde0..6fc4b330 100644 --- a/.github/scripts/setenv.ps1 +++ b/.github/scripts/setenv.ps1 @@ -2,5 +2,5 @@ param( [string]$Ref ) -echo "GIT_TAG_SCRIPT=$($Ref -replace 'refs/heads/','')" >> $env:GITHUB_ENV -echo "git-tag=$($Ref -replace 'refs/heads/','')" >> $env:GITHUB_OUTPUT +echo "BRANCH_SCRIPT=$($Ref -replace '.*/','')" >> $env:GITHUB_ENV +echo "branch=$($Ref -replace '.*/','')" >> $env:GITHUB_OUTPUT diff --git a/.github/scripts/setenv.sh b/.github/scripts/setenv.sh index b44457b8..7df7561f 100644 --- a/.github/scripts/setenv.sh +++ b/.github/scripts/setenv.sh @@ -8,5 +8,5 @@ while [ $# -gt 0 ]; do esac done -echo GIT_TAG_SCRIPT=${GITHUB_REF##*/} >> "$GITHUB_ENV" -echo git-tag=${GITHUB_REF##*/} >> "$GITHUB_OUTPUT" +echo BRANCH_SCRIPT=${GITHUB_REF##*/} >> "$GITHUB_ENV" +echo branch=${GITHUB_REF##*/} >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index 96b20138..a75ce3b9 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -13,26 +13,26 @@ jobs: steps: - uses: actions/checkout@v4 - name: Add ENV and OUTPUT - id: tag + id: shell run: | - if [[ "${{ startsWith(github.event_name, 'pull_request')}}" == "true" ]]; then - echo "GIT_TAG=${GITHUB_HEAD_REF}" >> "$GITHUB_ENV" - echo "git-tag=${GITHUB_HEAD_REF}" >> "$GITHUB_OUTPUT" + if [[ "${{ startsWith(github.event_name, 'pull_request') }}" == "true" ]]; then + echo "BRANCH=${GITHUB_HEAD_REF}" >> "$GITHUB_ENV" + echo "branch=${GITHUB_HEAD_REF}" >> "$GITHUB_OUTPUT" else - echo "GIT_TAG=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" - echo "git-tag=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" + echo "BRANCH=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" + echo "branch=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" fi - name: Show ENV and OUTPUT run: | - echo ${{ env.GIT_TAG }} - echo ${{ steps.tag.outputs.git-tag }} + echo ${{ env.BRANCH }} + echo ${{ steps.shell.outputs.branch }} - name: Add ENV and OUTPUT by Script - id: tag-script - run: bash .github/scripts/setenv.sh --ref "${GITHUB_REF#refs/heads/}" + id: script + run: bash .github/scripts/setenv.sh --ref "$GITHUB_REF" - name: Show ENV and OUTPUT run: | - echo ${{ env.GIT_TAG_SCRIPT }} - echo ${{ steps.tag-script.outputs.git-tag }} + echo ${{ env.BRANCH_SCRIPT }} + echo ${{ steps.script.outputs.branch }} - name: Add PATH run: echo "$HOME/foo/bar" >> "$GITHUB_PATH" - name: Show PATH @@ -44,22 +44,27 @@ jobs: steps: - uses: actions/checkout@v4 - name: Add ENV and OUTPUT - id: tag + id: shell run: | - echo "GIT_TAG=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_ENV}" - echo "git-tag=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_OUTPUT}" + if ("${{ startsWith(github.event_name, 'pull_request') }}" == "true") { + echo "BRANCH=${env:GITHUB_HEAD_REF}" >> "${env:GITHUB_ENV}" + echo "branch=${env:GITHUB_HEAD_REF}" >> "${env:GITHUB_OUTPUT}" + } else { + echo "BRANCH=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_ENV}" + echo "branch=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_OUTPUT}" + } - name: Show ENV and OUTPUT run: | - echo "${{ env.GIT_TAG }}" - echo "${{ steps.tag.outputs.git-tag }}" + echo "${{ env.BRANCH }}" + echo "${{ steps.shell.outputs.branch }}" - name: Add ENV and OUTPUT by Script - id: tag-script + id: script run: ./.github/scripts/setenv.ps1 -Ref "${env:GITHUB_REF}" - name: Show ENV and OUTPUT run: | - echo "${{ env.GIT_TAG_SCRIPT }}" - echo "${{ steps.tag-script.outputs.git-tag }}" + echo "${{ env.BRANCH_SCRIPT }}" + echo "${{ steps.script.outputs.branch }}" - name: Add PATH - run: echo "$HOME/foo/bar" >> "${env:GITHUB_PATH}" + run: echo "${env:HOME}/foo/bar" >> "${env:GITHUB_PATH}" - name: Show PATH run: echo "${env:PATH}" From e096b85c67fc42c885194961bb69959d4acf3916 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 06:53:08 +0000 Subject: [PATCH 18/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 22 +++++----- .../pull_request_target_synchronize.json | 44 +++++++++---------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index be0bc353..c7ff2c7e 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_daddd79b-387f-42ec-981b-5cb790dca3d0" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_81320700-65d6-49d4-8e82-274fa7718a23" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_daddd79b-387f-42ec-981b-5cb790dca3d0" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_daddd79b-387f-42ec-981b-5cb790dca3d0" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_81320700-65d6-49d4-8e82-274fa7718a23" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_81320700-65d6-49d4-8e82-274fa7718a23" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,12 +49,12 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794695404" -declare -x GITHUB_RUN_NUMBER="413" +declare -x GITHUB_RUN_ID="6794774359" +declare -x GITHUB_RUN_NUMBER="415" declare -x GITHUB_SERVER_URL="https://github.com" declare -x GITHUB_SHA="147fa89e19dc55ea8e05da5b4bf2afb63206bf0b" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_daddd79b-387f-42ec-981b-5cb790dca3d0" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_daddd79b-387f-42ec-981b-5cb790dca3d0" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_81320700-65d6-49d4-8e82-274fa7718a23" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_81320700-65d6-49d4-8e82-274fa7718a23" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="bd5b12ff8a064b63aede3c36784735b6" +declare -x INVOCATION_ID="bbaabb60d02e40de980867869e753843" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:18829" +declare -x JOURNAL_STREAM="8:17238" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -95,7 +95,7 @@ declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_1681d820-a915-4baf-a2b4-5c32d175aa8f" +declare -x RUNNER_TRACKING_ID="github_528b9d05-6aec-4148-8277-37ce2a94d8da" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -111,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="590" +declare -x SYSTEMD_EXEC_PID="593" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index 0882fbdb..89616322 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,5 +1,5 @@ { - "token": "ghs_Yfch7FfnmyTxi9iePYz6RUzKla2ooS4DkrjF", + "token": "ghs_KADxj02X0b8NyrpdAzdo14HzhobiYt1RH24Q", "job": "dump-context", "ref": "refs/heads/main", "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", @@ -7,8 +7,8 @@ "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794695404", - "run_number": "413", + "run_id": "6794774359", + "run_number": "415", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "a88ae32815add5ce7f5f2ce3933d0b01145d1193", - "before": "89faf85af5f3888fb1ddc89167c90f4410337668", + "after": "daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", + "before": "4a519d11342c1c0273ba4bb35d28a15d1dde91eb", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/a88ae32815add5ce7f5f2ce3933d0b01145d1193" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24" } }, "active_lock_reason": null, - "additions": 619, + "additions": 633, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:40:55Z", + "pushed_at": "2023-11-08T06:52:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -206,14 +206,14 @@ } }, "body": null, - "changed_files": 15, + "changed_files": 16, "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 15, + "commits": 19, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 152, + "deletions": 155, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:40:55Z", + "pushed_at": "2023-11-08T06:52:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "a88ae32815add5ce7f5f2ce3933d0b01145d1193", + "sha": "daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "594e36abca9909f05a51ed3b3681b3734dfb27cd", + "merge_commit_sha": "efa3cd1a6e5ece6471d2e2692be0596a1b123694", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 1, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/a88ae32815add5ce7f5f2ce3933d0b01145d1193", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T06:40:56Z", + "updated_at": "2023-11-08T06:52:47Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:40:55Z", + "pushed_at": "2023-11-08T06:52:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -551,9 +551,9 @@ "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_daddd79b-387f-42ec-981b-5cb790dca3d0", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_daddd79b-387f-42ec-981b-5cb790dca3d0", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_daddd79b-387f-42ec-981b-5cb790dca3d0", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_daddd79b-387f-42ec-981b-5cb790dca3d0", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_daddd79b-387f-42ec-981b-5cb790dca3d0" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_81320700-65d6-49d4-8e82-274fa7718a23", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_81320700-65d6-49d4-8e82-274fa7718a23", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_81320700-65d6-49d4-8e82-274fa7718a23", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_81320700-65d6-49d4-8e82-274fa7718a23", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_81320700-65d6-49d4-8e82-274fa7718a23" } From 3cf9f35d0da2f697a9b3dc536d52e5a0fbcfcec7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 06:53:17 +0000 Subject: [PATCH 19/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 51 ++++++++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 48b64580..859dc556 100644 --- a/README.md +++ b/README.md @@ -453,8 +453,8 @@ while [ $# -gt 0 ]; do esac done -echo GIT_TAG_SCRIPT=${GITHUB_REF##*/} >> "$GITHUB_ENV" -echo git-tag=${GITHUB_REF##*/} >> "$GITHUB_OUTPUT" +echo BRANCH_SCRIPT=${GITHUB_REF##*/} >> "$GITHUB_ENV" +echo branch=${GITHUB_REF##*/} >> "$GITHUB_OUTPUT" ``` @@ -483,26 +483,26 @@ jobs: steps: - uses: actions/checkout@v4 - name: Add ENV and OUTPUT - id: tag + id: shell run: | - if [[ "${{ startsWith(github.event_name, 'pull_request')}}" == "true" ]]; then - echo "GIT_TAG=${GITHUB_HEAD_REF}" >> "$GITHUB_ENV" - echo "git-tag=${GITHUB_HEAD_REF}" >> "$GITHUB_OUTPUT" + if [[ "${{ startsWith(github.event_name, 'pull_request') }}" == "true" ]]; then + echo "BRANCH=${GITHUB_HEAD_REF}" >> "$GITHUB_ENV" + echo "branch=${GITHUB_HEAD_REF}" >> "$GITHUB_OUTPUT" else - echo "GIT_TAG=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" - echo "git-tag=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" + echo "BRANCH=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" + echo "branch=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" fi - name: Show ENV and OUTPUT run: | - echo ${{ env.GIT_TAG }} - echo ${{ steps.tag.outputs.git-tag }} + echo ${{ env.BRANCH }} + echo ${{ steps.shell.outputs.branch }} - name: Add ENV and OUTPUT by Script - id: tag-script - run: bash .github/scripts/setenv.sh --ref "${GITHUB_REF#refs/heads/}" + id: script + run: bash .github/scripts/setenv.sh --ref "$GITHUB_REF" - name: Show ENV and OUTPUT run: | - echo ${{ env.GIT_TAG_SCRIPT }} - echo ${{ steps.tag-script.outputs.git-tag }} + echo ${{ env.BRANCH_SCRIPT }} + echo ${{ steps.script.outputs.branch }} - name: Add PATH run: echo "$HOME/foo/bar" >> "$GITHUB_PATH" - name: Show PATH @@ -514,23 +514,28 @@ jobs: steps: - uses: actions/checkout@v4 - name: Add ENV and OUTPUT - id: tag + id: shell run: | - echo "GIT_TAG=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_ENV}" - echo "git-tag=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_OUTPUT}" + if ("${{ startsWith(github.event_name, 'pull_request') }}" == "true") { + echo "BRANCH=${env:GITHUB_HEAD_REF}" >> "${env:GITHUB_ENV}" + echo "branch=${env:GITHUB_HEAD_REF}" >> "${env:GITHUB_OUTPUT}" + } else { + echo "BRANCH=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_ENV}" + echo "branch=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_OUTPUT}" + } - name: Show ENV and OUTPUT run: | - echo "${{ env.GIT_TAG }}" - echo "${{ steps.tag.outputs.git-tag }}" + echo "${{ env.BRANCH }}" + echo "${{ steps.shell.outputs.branch }}" - name: Add ENV and OUTPUT by Script - id: tag-script + id: script run: ./.github/scripts/setenv.ps1 -Ref "${env:GITHUB_REF}" - name: Show ENV and OUTPUT run: | - echo "${{ env.GIT_TAG_SCRIPT }}" - echo "${{ steps.tag-script.outputs.git-tag }}" + echo "${{ env.BRANCH_SCRIPT }}" + echo "${{ steps.script.outputs.branch }}" - name: Add PATH - run: echo "$HOME/foo/bar" >> "${env:GITHUB_PATH}" + run: echo "${env:HOME}/foo/bar" >> "${env:GITHUB_PATH}" - name: Show PATH run: echo "${env:PATH}" From c89fe50b487d653e6e6d6ee4bd2ce0c37dbeaba4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 06:53:26 +0000 Subject: [PATCH 20/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 30 ++++++------ contexts/github/pull_request_synchronize.json | 48 +++++++++---------- contexts/runner/pull_request_synchronize.json | 2 +- 3 files changed, 39 insertions(+), 41 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index 0a138cdd..9db23f01 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_dd89853e-785d-49ef-b870-a743c8680503" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_dd89853e-785d-49ef-b870-a743c8680503" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_dd89853e-785d-49ef-b870-a743c8680503" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" declare -x GITHUB_REF="refs/pull/128/merge" declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794695536" -declare -x GITHUB_RUN_NUMBER="414" +declare -x GITHUB_RUN_ID="6794774529" +declare -x GITHUB_RUN_NUMBER="416" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="efa3cd1a6e5ece6471d2e2692be0596a1b123694" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_dd89853e-785d-49ef-b870-a743c8680503" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_dd89853e-785d-49ef-b870-a743c8680503" +declare -x GITHUB_SHA="b27d625433b4f292cd974e49911a207b9023f3a9" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" -declare -x GITHUB_WORKFLOW_SHA="efa3cd1a6e5ece6471d2e2692be0596a1b123694" +declare -x GITHUB_WORKFLOW_SHA="b27d625433b4f292cd974e49911a207b9023f3a9" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="d6cd4fe4514b45a99e55311cbbd0d654" +declare -x INVOCATION_ID="a25a4eb1a24a40dd960363a9523075f3" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17182" +declare -x JOURNAL_STREAM="8:20533" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,21 +90,19 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 33" +declare -x RUNNER_NAME="GitHub Actions 3" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_dc188939-5203-4de5-8600-156486595c4b" +declare -x RUNNER_TRACKING_ID="github_084129d1-fb99-4753-8b5b-519bec7a3713" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" declare -x SGX_AESM_ADDR="1" declare -x SHLVL="1" -declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" -declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -112,7 +110,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="569" +declare -x SYSTEMD_EXEC_PID="591" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index c20d52cf..3232e468 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_ljEEDduSegpltMk3RSyf7gSwS1pozK1UGE6u", + "token": "ghs_tmgr62swmU1L6Zp0v45U8wSh43Cw2e1sotTF", "job": "dump-context", "ref": "refs/pull/128/merge", - "sha": "efa3cd1a6e5ece6471d2e2692be0596a1b123694", + "sha": "b27d625433b4f292cd974e49911a207b9023f3a9", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794695536", - "run_number": "414", + "run_id": "6794774529", + "run_number": "416", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request", "event": { "action": "synchronize", - "after": "a88ae32815add5ce7f5f2ce3933d0b01145d1193", - "before": "89faf85af5f3888fb1ddc89167c90f4410337668", + "after": "daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", + "before": "4a519d11342c1c0273ba4bb35d28a15d1dde91eb", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/a88ae32815add5ce7f5f2ce3933d0b01145d1193" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24" } }, "active_lock_reason": null, - "additions": 619, + "additions": 633, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:40:55Z", + "pushed_at": "2023-11-08T06:52:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -206,14 +206,14 @@ } }, "body": null, - "changed_files": 15, + "changed_files": 16, "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 15, + "commits": 19, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 152, + "deletions": 155, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:40:55Z", + "pushed_at": "2023-11-08T06:52:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "a88ae32815add5ce7f5f2ce3933d0b01145d1193", + "sha": "daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "594e36abca9909f05a51ed3b3681b3734dfb27cd", + "merge_commit_sha": "efa3cd1a6e5ece6471d2e2692be0596a1b123694", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 1, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/a88ae32815add5ce7f5f2ce3933d0b01145d1193", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T06:40:56Z", + "updated_at": "2023-11-08T06:52:47Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:40:55Z", + "pushed_at": "2023-11-08T06:52:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", - "workflow_sha": "efa3cd1a6e5ece6471d2e2692be0596a1b123694", + "workflow_sha": "b27d625433b4f292cd974e49911a207b9023f3a9", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_dd89853e-785d-49ef-b870-a743c8680503", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_dd89853e-785d-49ef-b870-a743c8680503", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_dd89853e-785d-49ef-b870-a743c8680503", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_dd89853e-785d-49ef-b870-a743c8680503", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_dd89853e-785d-49ef-b870-a743c8680503" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" } diff --git a/contexts/runner/pull_request_synchronize.json b/contexts/runner/pull_request_synchronize.json index 634af829..9b0383e1 100644 --- a/contexts/runner/pull_request_synchronize.json +++ b/contexts/runner/pull_request_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 33", + "name": "GitHub Actions 3", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 60bba564da3915354cfc4ef5a9da9e6afed470e7 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 15:58:45 +0900 Subject: [PATCH 21/52] ci: use github context --- .github/scripts/setenv.sh | 4 ++-- .github/workflows/env_with_script.yaml | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/scripts/setenv.sh b/.github/scripts/setenv.sh index 7df7561f..2d534b5b 100644 --- a/.github/scripts/setenv.sh +++ b/.github/scripts/setenv.sh @@ -8,5 +8,5 @@ while [ $# -gt 0 ]; do esac done -echo BRANCH_SCRIPT=${GITHUB_REF##*/} >> "$GITHUB_ENV" -echo branch=${GITHUB_REF##*/} >> "$GITHUB_OUTPUT" +echo BRANCH_SCRIPT=${GITHUB_REF} >> "$GITHUB_ENV" +echo branch=${GITHUB_REF} >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index a75ce3b9..6516acb3 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -16,11 +16,11 @@ jobs: id: shell run: | if [[ "${{ startsWith(github.event_name, 'pull_request') }}" == "true" ]]; then - echo "BRANCH=${GITHUB_HEAD_REF}" >> "$GITHUB_ENV" - echo "branch=${GITHUB_HEAD_REF}" >> "$GITHUB_OUTPUT" + echo "BRANCH=${{ github.head_ref }}" >> "$GITHUB_ENV" + echo "branch=${{ github.head_ref }}" >> "$GITHUB_OUTPUT" else - echo "BRANCH=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" - echo "branch=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" + echo "BRANCH=${{ github.ref_name }}" >> "$GITHUB_ENV" + echo "branch=${{ github.ref_name }}" >> "$GITHUB_OUTPUT" fi - name: Show ENV and OUTPUT run: | @@ -28,7 +28,7 @@ jobs: echo ${{ steps.shell.outputs.branch }} - name: Add ENV and OUTPUT by Script id: script - run: bash .github/scripts/setenv.sh --ref "$GITHUB_REF" + run: bash .github/scripts/setenv.sh --ref "${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }}" - name: Show ENV and OUTPUT run: | echo ${{ env.BRANCH_SCRIPT }} @@ -46,12 +46,12 @@ jobs: - name: Add ENV and OUTPUT id: shell run: | - if ("${{ startsWith(github.event_name, 'pull_request') }}" == "true") { - echo "BRANCH=${env:GITHUB_HEAD_REF}" >> "${env:GITHUB_ENV}" - echo "branch=${env:GITHUB_HEAD_REF}" >> "${env:GITHUB_OUTPUT}" + if ("${{ startsWith(github.event_name, 'pull_request') }}" -eq "true") { + echo "BRANCH=${{ github.head_ref }}" >> "${env:GITHUB_ENV}" + echo "branch=${{ github.head_ref }}" >> "${env:GITHUB_OUTPUT}" } else { - echo "BRANCH=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_ENV}" - echo "branch=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_OUTPUT}" + echo "BRANCH=${{ github.ref_name }}" >> "${env:GITHUB_ENV}" + echo "branch=${{ github.ref_name }}" >> "${env:GITHUB_OUTPUT}" } - name: Show ENV and OUTPUT run: | @@ -59,7 +59,7 @@ jobs: echo "${{ steps.shell.outputs.branch }}" - name: Add ENV and OUTPUT by Script id: script - run: ./.github/scripts/setenv.ps1 -Ref "${env:GITHUB_REF}" + run: ./.github/scripts/setenv.ps1 -Ref "${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }}" - name: Show ENV and OUTPUT run: | echo "${{ env.BRANCH_SCRIPT }}" From 7d448f47371ccc5cafbf8170cd69371a5496c1ab Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 06:59:11 +0000 Subject: [PATCH 22/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 22 +++++----- .../pull_request_target_synchronize.json | 42 +++++++++---------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index c7ff2c7e..fb127975 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_81320700-65d6-49d4-8e82-274fa7718a23" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_a64126d6-f457-4872-af63-4b36bd3c9f31" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_81320700-65d6-49d4-8e82-274fa7718a23" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_81320700-65d6-49d4-8e82-274fa7718a23" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_a64126d6-f457-4872-af63-4b36bd3c9f31" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_a64126d6-f457-4872-af63-4b36bd3c9f31" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,12 +49,12 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794774359" -declare -x GITHUB_RUN_NUMBER="415" +declare -x GITHUB_RUN_ID="6794812228" +declare -x GITHUB_RUN_NUMBER="417" declare -x GITHUB_SERVER_URL="https://github.com" declare -x GITHUB_SHA="147fa89e19dc55ea8e05da5b4bf2afb63206bf0b" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_81320700-65d6-49d4-8e82-274fa7718a23" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_81320700-65d6-49d4-8e82-274fa7718a23" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_a64126d6-f457-4872-af63-4b36bd3c9f31" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_a64126d6-f457-4872-af63-4b36bd3c9f31" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="bbaabb60d02e40de980867869e753843" +declare -x INVOCATION_ID="51f8b81ea50843de983fe3f1b65e2d13" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17238" +declare -x JOURNAL_STREAM="8:17700" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -95,7 +95,7 @@ declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_528b9d05-6aec-4148-8277-37ce2a94d8da" +declare -x RUNNER_TRACKING_ID="github_7ba7ba8a-433d-42d0-b334-aca6ca024997" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -111,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="593" +declare -x SYSTEMD_EXEC_PID="572" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index 89616322..2ff8daf1 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,5 +1,5 @@ { - "token": "ghs_KADxj02X0b8NyrpdAzdo14HzhobiYt1RH24Q", + "token": "ghs_nPzZEGf2336DSlnyO98YhugSpKOnLf0Is3Al", "job": "dump-context", "ref": "refs/heads/main", "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", @@ -7,8 +7,8 @@ "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794774359", - "run_number": "415", + "run_id": "6794812228", + "run_number": "417", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", - "before": "4a519d11342c1c0273ba4bb35d28a15d1dde91eb", + "after": "d29e8f9266542077d5d9a9b7b837320f3d9df58e", + "before": "c89fe50b487d653e6e6d6ee4bd2ce0c37dbeaba4", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/d29e8f9266542077d5d9a9b7b837320f3d9df58e" } }, "active_lock_reason": null, - "additions": 633, + "additions": 637, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:52:45Z", + "pushed_at": "2023-11-08T06:58:50Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,10 +210,10 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 19, + "commits": 24, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 155, + "deletions": 156, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:52:45Z", + "pushed_at": "2023-11-08T06:58:50Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", + "sha": "d29e8f9266542077d5d9a9b7b837320f3d9df58e", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "efa3cd1a6e5ece6471d2e2692be0596a1b123694", + "merge_commit_sha": "2dfd65efba9656810e319444afa20a7eab99485b", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 1, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/d29e8f9266542077d5d9a9b7b837320f3d9df58e", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T06:52:47Z", + "updated_at": "2023-11-08T06:58:51Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:52:45Z", + "pushed_at": "2023-11-08T06:58:50Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -551,9 +551,9 @@ "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_81320700-65d6-49d4-8e82-274fa7718a23", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_81320700-65d6-49d4-8e82-274fa7718a23", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_81320700-65d6-49d4-8e82-274fa7718a23", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_81320700-65d6-49d4-8e82-274fa7718a23", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_81320700-65d6-49d4-8e82-274fa7718a23" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_a64126d6-f457-4872-af63-4b36bd3c9f31", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_a64126d6-f457-4872-af63-4b36bd3c9f31", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_a64126d6-f457-4872-af63-4b36bd3c9f31", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_a64126d6-f457-4872-af63-4b36bd3c9f31", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_a64126d6-f457-4872-af63-4b36bd3c9f31" } From d88cb7068cf2a79a704a55eb843e9e92454780ed Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 06:59:16 +0000 Subject: [PATCH 23/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 859dc556..47f8d25f 100644 --- a/README.md +++ b/README.md @@ -453,8 +453,8 @@ while [ $# -gt 0 ]; do esac done -echo BRANCH_SCRIPT=${GITHUB_REF##*/} >> "$GITHUB_ENV" -echo branch=${GITHUB_REF##*/} >> "$GITHUB_OUTPUT" +echo BRANCH_SCRIPT=${GITHUB_REF} >> "$GITHUB_ENV" +echo branch=${GITHUB_REF} >> "$GITHUB_OUTPUT" ``` @@ -486,11 +486,11 @@ jobs: id: shell run: | if [[ "${{ startsWith(github.event_name, 'pull_request') }}" == "true" ]]; then - echo "BRANCH=${GITHUB_HEAD_REF}" >> "$GITHUB_ENV" - echo "branch=${GITHUB_HEAD_REF}" >> "$GITHUB_OUTPUT" + echo "BRANCH=${{ github.head_ref }}" >> "$GITHUB_ENV" + echo "branch=${{ github.head_ref }}" >> "$GITHUB_OUTPUT" else - echo "BRANCH=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV" - echo "branch=${GITHUB_REF#refs/heads/}" >> "$GITHUB_OUTPUT" + echo "BRANCH=${{ github.ref_name }}" >> "$GITHUB_ENV" + echo "branch=${{ github.ref_name }}" >> "$GITHUB_OUTPUT" fi - name: Show ENV and OUTPUT run: | @@ -498,7 +498,7 @@ jobs: echo ${{ steps.shell.outputs.branch }} - name: Add ENV and OUTPUT by Script id: script - run: bash .github/scripts/setenv.sh --ref "$GITHUB_REF" + run: bash .github/scripts/setenv.sh --ref "${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }}" - name: Show ENV and OUTPUT run: | echo ${{ env.BRANCH_SCRIPT }} @@ -516,12 +516,12 @@ jobs: - name: Add ENV and OUTPUT id: shell run: | - if ("${{ startsWith(github.event_name, 'pull_request') }}" == "true") { - echo "BRANCH=${env:GITHUB_HEAD_REF}" >> "${env:GITHUB_ENV}" - echo "branch=${env:GITHUB_HEAD_REF}" >> "${env:GITHUB_OUTPUT}" + if ("${{ startsWith(github.event_name, 'pull_request') }}" -eq "true") { + echo "BRANCH=${{ github.head_ref }}" >> "${env:GITHUB_ENV}" + echo "branch=${{ github.head_ref }}" >> "${env:GITHUB_OUTPUT}" } else { - echo "BRANCH=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_ENV}" - echo "branch=$(${env:GITHUB_REF} -replace 'refs/heads/','')" >> "${env:GITHUB_OUTPUT}" + echo "BRANCH=${{ github.ref_name }}" >> "${env:GITHUB_ENV}" + echo "branch=${{ github.ref_name }}" >> "${env:GITHUB_OUTPUT}" } - name: Show ENV and OUTPUT run: | @@ -529,7 +529,7 @@ jobs: echo "${{ steps.shell.outputs.branch }}" - name: Add ENV and OUTPUT by Script id: script - run: ./.github/scripts/setenv.ps1 -Ref "${env:GITHUB_REF}" + run: ./.github/scripts/setenv.ps1 -Ref "${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }}" - name: Show ENV and OUTPUT run: | echo "${{ env.BRANCH_SCRIPT }}" From 4b3c3573736726725e21f64470719a83ed78eb1b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 06:59:28 +0000 Subject: [PATCH 24/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 29 ++++++------ contexts/github/pull_request_synchronize.json | 46 +++++++++---------- contexts/runner/pull_request_synchronize.json | 2 +- 3 files changed, 39 insertions(+), 38 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index 9db23f01..f6bfff06 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" declare -x GITHUB_REF="refs/pull/128/merge" declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794774529" -declare -x GITHUB_RUN_NUMBER="416" +declare -x GITHUB_RUN_ID="6794812344" +declare -x GITHUB_RUN_NUMBER="418" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="b27d625433b4f292cd974e49911a207b9023f3a9" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" +declare -x GITHUB_SHA="6359ce4621101c55291d86c990cdec4b360fdfe6" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" -declare -x GITHUB_WORKFLOW_SHA="b27d625433b4f292cd974e49911a207b9023f3a9" +declare -x GITHUB_WORKFLOW_SHA="6359ce4621101c55291d86c990cdec4b360fdfe6" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="a25a4eb1a24a40dd960363a9523075f3" +declare -x INVOCATION_ID="b036dee98e9d41859a3d550aff700aea" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:20533" +declare -x JOURNAL_STREAM="8:17552" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,17 +90,18 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 3" +declare -x RUNNER_NAME="GitHub Actions 15" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_084129d1-fb99-4753-8b5b-519bec7a3713" +declare -x RUNNER_TRACKING_ID="github_b9b82a91-58f7-457b-b27c-9f0769921344" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" declare -x SGX_AESM_ADDR="1" declare -x SHLVL="1" +declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" declare -x STATS_RDCL="true" @@ -110,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="591" +declare -x SYSTEMD_EXEC_PID="569" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index 3232e468..404b8668 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_tmgr62swmU1L6Zp0v45U8wSh43Cw2e1sotTF", + "token": "ghs_wRX51jC8QAOCDIEhrOzdb2GIvvw72v3fB22y", "job": "dump-context", "ref": "refs/pull/128/merge", - "sha": "b27d625433b4f292cd974e49911a207b9023f3a9", + "sha": "6359ce4621101c55291d86c990cdec4b360fdfe6", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794774529", - "run_number": "416", + "run_id": "6794812344", + "run_number": "418", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request", "event": { "action": "synchronize", - "after": "daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", - "before": "4a519d11342c1c0273ba4bb35d28a15d1dde91eb", + "after": "d29e8f9266542077d5d9a9b7b837320f3d9df58e", + "before": "c89fe50b487d653e6e6d6ee4bd2ce0c37dbeaba4", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/d29e8f9266542077d5d9a9b7b837320f3d9df58e" } }, "active_lock_reason": null, - "additions": 633, + "additions": 637, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:52:45Z", + "pushed_at": "2023-11-08T06:58:50Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,10 +210,10 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 19, + "commits": 24, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 155, + "deletions": 156, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:52:45Z", + "pushed_at": "2023-11-08T06:58:50Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", + "sha": "d29e8f9266542077d5d9a9b7b837320f3d9df58e", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "efa3cd1a6e5ece6471d2e2692be0596a1b123694", + "merge_commit_sha": "2dfd65efba9656810e319444afa20a7eab99485b", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 1, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/daf250b9cb1d28e1af7aa9dcab8f50b4ea16ff24", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/d29e8f9266542077d5d9a9b7b837320f3d9df58e", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T06:52:47Z", + "updated_at": "2023-11-08T06:58:51Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:52:45Z", + "pushed_at": "2023-11-08T06:58:50Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", - "workflow_sha": "b27d625433b4f292cd974e49911a207b9023f3a9", + "workflow_sha": "6359ce4621101c55291d86c990cdec4b360fdfe6", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_5fff6bd9-ae85-4c90-b2a5-37b58ec8b4df" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" } diff --git a/contexts/runner/pull_request_synchronize.json b/contexts/runner/pull_request_synchronize.json index 9b0383e1..dbd8bead 100644 --- a/contexts/runner/pull_request_synchronize.json +++ b/contexts/runner/pull_request_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 3", + "name": "GitHub Actions 15", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 2f344f648e54a6bd4be56165e7e3e3dfdab6da09 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 16:17:42 +0900 Subject: [PATCH 25/52] ci: potential risk --- .github/workflows/env_with_script.yaml | 31 ++++++++++---------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index 6516acb3..eb6068a5 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -6,6 +6,9 @@ on: pull_request: branches: ["main"] +env: + BRANCH_NAME: ${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }} + jobs: ubuntu: runs-on: ubuntu-latest @@ -15,21 +18,16 @@ jobs: - name: Add ENV and OUTPUT id: shell run: | - if [[ "${{ startsWith(github.event_name, 'pull_request') }}" == "true" ]]; then - echo "BRANCH=${{ github.head_ref }}" >> "$GITHUB_ENV" - echo "branch=${{ github.head_ref }}" >> "$GITHUB_OUTPUT" - else - echo "BRANCH=${{ github.ref_name }}" >> "$GITHUB_ENV" - echo "branch=${{ github.ref_name }}" >> "$GITHUB_OUTPUT" - fi + echo "BRANCH=${{ env.BRANCH_NAME }}" >> "$GITHUB_ENV" + echo "branch=${{ env.BRANCH_NAME }}" >> "$GITHUB_OUTPUT" - name: Show ENV and OUTPUT run: | echo ${{ env.BRANCH }} echo ${{ steps.shell.outputs.branch }} - name: Add ENV and OUTPUT by Script id: script - run: bash .github/scripts/setenv.sh --ref "${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }}" - - name: Show ENV and OUTPUT + run: bash .github/scripts/setenv.sh --ref "${{ env.BRANCH_NAME }}" + - name: Show Script ENV and OUTPUT run: | echo ${{ env.BRANCH_SCRIPT }} echo ${{ steps.script.outputs.branch }} @@ -46,25 +44,20 @@ jobs: - name: Add ENV and OUTPUT id: shell run: | - if ("${{ startsWith(github.event_name, 'pull_request') }}" -eq "true") { - echo "BRANCH=${{ github.head_ref }}" >> "${env:GITHUB_ENV}" - echo "branch=${{ github.head_ref }}" >> "${env:GITHUB_OUTPUT}" - } else { - echo "BRANCH=${{ github.ref_name }}" >> "${env:GITHUB_ENV}" - echo "branch=${{ github.ref_name }}" >> "${env:GITHUB_OUTPUT}" - } + echo "BRANCH=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_ENV}" + echo "branch=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_OUTPUT}" - name: Show ENV and OUTPUT run: | echo "${{ env.BRANCH }}" echo "${{ steps.shell.outputs.branch }}" - name: Add ENV and OUTPUT by Script id: script - run: ./.github/scripts/setenv.ps1 -Ref "${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }}" - - name: Show ENV and OUTPUT + run: ./.github/scripts/setenv.ps1 -Ref "${{ env.BRANCH_NAME }}" + - name: Show Script ENV and OUTPUT run: | echo "${{ env.BRANCH_SCRIPT }}" echo "${{ steps.script.outputs.branch }}" - name: Add PATH - run: echo "${env:HOME}/foo/bar" >> "${env:GITHUB_PATH}" + run: echo "$HOME/foo/bar" >> "${env:GITHUB_PATH}" - name: Show PATH run: echo "${env:PATH}" From 0c3eeea0b75fec51ffceb2ea6708de38881133a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:18:08 +0000 Subject: [PATCH 26/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 22 +++++----- .../pull_request_target_synchronize.json | 42 +++++++++---------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index fb127975..726cee67 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_a64126d6-f457-4872-af63-4b36bd3c9f31" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_a64126d6-f457-4872-af63-4b36bd3c9f31" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_a64126d6-f457-4872-af63-4b36bd3c9f31" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,12 +49,12 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794812228" -declare -x GITHUB_RUN_NUMBER="417" +declare -x GITHUB_RUN_ID="6794979986" +declare -x GITHUB_RUN_NUMBER="419" declare -x GITHUB_SERVER_URL="https://github.com" declare -x GITHUB_SHA="147fa89e19dc55ea8e05da5b4bf2afb63206bf0b" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_a64126d6-f457-4872-af63-4b36bd3c9f31" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_a64126d6-f457-4872-af63-4b36bd3c9f31" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="51f8b81ea50843de983fe3f1b65e2d13" +declare -x INVOCATION_ID="a173dacc4828443fab3b8c1dd934e141" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17700" +declare -x JOURNAL_STREAM="8:17814" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -95,7 +95,7 @@ declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_7ba7ba8a-433d-42d0-b334-aca6ca024997" +declare -x RUNNER_TRACKING_ID="github_0fc6b6d4-40a1-401e-9604-86a230f149ec" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -111,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="572" +declare -x SYSTEMD_EXEC_PID="580" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index 2ff8daf1..b2f1bca6 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,5 +1,5 @@ { - "token": "ghs_nPzZEGf2336DSlnyO98YhugSpKOnLf0Is3Al", + "token": "ghs_D2R2RjE0qFSntnZJol9ihlpFYl3ZRb4NIsdC", "job": "dump-context", "ref": "refs/heads/main", "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", @@ -7,8 +7,8 @@ "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794812228", - "run_number": "417", + "run_id": "6794979986", + "run_number": "419", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "d29e8f9266542077d5d9a9b7b837320f3d9df58e", - "before": "c89fe50b487d653e6e6d6ee4bd2ce0c37dbeaba4", + "after": "2f344f648e54a6bd4be56165e7e3e3dfdab6da09", + "before": "4b3c3573736726725e21f64470719a83ed78eb1b", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/d29e8f9266542077d5d9a9b7b837320f3d9df58e" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/2f344f648e54a6bd4be56165e7e3e3dfdab6da09" } }, "active_lock_reason": null, - "additions": 637, + "additions": 631, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:58:50Z", + "pushed_at": "2023-11-08T07:17:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,7 +210,7 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 24, + "commits": 28, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", "deletions": 156, @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:58:50Z", + "pushed_at": "2023-11-08T07:17:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "d29e8f9266542077d5d9a9b7b837320f3d9df58e", + "sha": "2f344f648e54a6bd4be56165e7e3e3dfdab6da09", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "2dfd65efba9656810e319444afa20a7eab99485b", + "merge_commit_sha": "14695295d6d0ff32948d2b96d7067c340452b0bc", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -380,12 +380,12 @@ "requested_reviewers": [], "requested_teams": [], "review_comment_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/comments{/number}", - "review_comments": 1, + "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/d29e8f9266542077d5d9a9b7b837320f3d9df58e", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/2f344f648e54a6bd4be56165e7e3e3dfdab6da09", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T06:58:51Z", + "updated_at": "2023-11-08T07:17:47Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:58:50Z", + "pushed_at": "2023-11-08T07:17:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -551,9 +551,9 @@ "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_a64126d6-f457-4872-af63-4b36bd3c9f31", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_a64126d6-f457-4872-af63-4b36bd3c9f31", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_a64126d6-f457-4872-af63-4b36bd3c9f31", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_a64126d6-f457-4872-af63-4b36bd3c9f31", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_a64126d6-f457-4872-af63-4b36bd3c9f31" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" } From f2c675c514ed5b0f3e4612c069dea1ed1c129fd4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:18:28 +0000 Subject: [PATCH 27/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 27 ++++++----- contexts/github/pull_request_synchronize.json | 46 +++++++++---------- 2 files changed, 36 insertions(+), 37 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index f6bfff06..9978a79b 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_e3a88451-dadf-4823-815d-5091fe9d8caf" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_e3a88451-dadf-4823-815d-5091fe9d8caf" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_e3a88451-dadf-4823-815d-5091fe9d8caf" declare -x GITHUB_REF="refs/pull/128/merge" declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794812344" -declare -x GITHUB_RUN_NUMBER="418" +declare -x GITHUB_RUN_ID="6794980226" +declare -x GITHUB_RUN_NUMBER="420" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="6359ce4621101c55291d86c990cdec4b360fdfe6" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" +declare -x GITHUB_SHA="8164e4e17fa571d77c02ba27501b9f4e421444e6" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_e3a88451-dadf-4823-815d-5091fe9d8caf" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_e3a88451-dadf-4823-815d-5091fe9d8caf" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" -declare -x GITHUB_WORKFLOW_SHA="6359ce4621101c55291d86c990cdec4b360fdfe6" +declare -x GITHUB_WORKFLOW_SHA="8164e4e17fa571d77c02ba27501b9f4e421444e6" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="b036dee98e9d41859a3d550aff700aea" +declare -x INVOCATION_ID="534cbfb9ada14225b7b8569d09002a63" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17552" +declare -x JOURNAL_STREAM="8:18031" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -95,13 +95,12 @@ declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_b9b82a91-58f7-457b-b27c-9f0769921344" +declare -x RUNNER_TRACKING_ID="github_752d08fe-c52a-4db5-9d2a-920bd106091f" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" declare -x SGX_AESM_ADDR="1" declare -x SHLVL="1" -declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" declare -x STATS_RDCL="true" @@ -111,7 +110,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="569" +declare -x SYSTEMD_EXEC_PID="590" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index 404b8668..b8f73738 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_wRX51jC8QAOCDIEhrOzdb2GIvvw72v3fB22y", + "token": "ghs_oeg5ChYYZo0dABZkYwGuteWKliCkZF2RYhNm", "job": "dump-context", "ref": "refs/pull/128/merge", - "sha": "6359ce4621101c55291d86c990cdec4b360fdfe6", + "sha": "8164e4e17fa571d77c02ba27501b9f4e421444e6", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794812344", - "run_number": "418", + "run_id": "6794980226", + "run_number": "420", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request", "event": { "action": "synchronize", - "after": "d29e8f9266542077d5d9a9b7b837320f3d9df58e", - "before": "c89fe50b487d653e6e6d6ee4bd2ce0c37dbeaba4", + "after": "2f344f648e54a6bd4be56165e7e3e3dfdab6da09", + "before": "4b3c3573736726725e21f64470719a83ed78eb1b", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/d29e8f9266542077d5d9a9b7b837320f3d9df58e" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/2f344f648e54a6bd4be56165e7e3e3dfdab6da09" } }, "active_lock_reason": null, - "additions": 637, + "additions": 631, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:58:50Z", + "pushed_at": "2023-11-08T07:17:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,7 +210,7 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 24, + "commits": 28, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", "deletions": 156, @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:58:50Z", + "pushed_at": "2023-11-08T07:17:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "d29e8f9266542077d5d9a9b7b837320f3d9df58e", + "sha": "2f344f648e54a6bd4be56165e7e3e3dfdab6da09", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "2dfd65efba9656810e319444afa20a7eab99485b", + "merge_commit_sha": "14695295d6d0ff32948d2b96d7067c340452b0bc", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -380,12 +380,12 @@ "requested_reviewers": [], "requested_teams": [], "review_comment_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/comments{/number}", - "review_comments": 1, + "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/d29e8f9266542077d5d9a9b7b837320f3d9df58e", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/2f344f648e54a6bd4be56165e7e3e3dfdab6da09", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T06:58:51Z", + "updated_at": "2023-11-08T07:17:47Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T06:58:50Z", + "pushed_at": "2023-11-08T07:17:45Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1247, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", - "workflow_sha": "6359ce4621101c55291d86c990cdec4b360fdfe6", + "workflow_sha": "8164e4e17fa571d77c02ba27501b9f4e421444e6", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_d0b8c763-b844-40d9-be1c-eaf7c6cfbe6f" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_e3a88451-dadf-4823-815d-5091fe9d8caf", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_e3a88451-dadf-4823-815d-5091fe9d8caf", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_e3a88451-dadf-4823-815d-5091fe9d8caf", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_e3a88451-dadf-4823-815d-5091fe9d8caf", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_e3a88451-dadf-4823-815d-5091fe9d8caf" } From c76f75dcf2653069a096356fbe644b3a2f871c5a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:18:31 +0000 Subject: [PATCH 28/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 47f8d25f..7561a5bd 100644 --- a/README.md +++ b/README.md @@ -476,6 +476,9 @@ on: pull_request: branches: ["main"] +env: + BRANCH_NAME: ${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }} + jobs: ubuntu: runs-on: ubuntu-latest @@ -485,21 +488,16 @@ jobs: - name: Add ENV and OUTPUT id: shell run: | - if [[ "${{ startsWith(github.event_name, 'pull_request') }}" == "true" ]]; then - echo "BRANCH=${{ github.head_ref }}" >> "$GITHUB_ENV" - echo "branch=${{ github.head_ref }}" >> "$GITHUB_OUTPUT" - else - echo "BRANCH=${{ github.ref_name }}" >> "$GITHUB_ENV" - echo "branch=${{ github.ref_name }}" >> "$GITHUB_OUTPUT" - fi + echo "BRANCH=${{ env.BRANCH_NAME }}" >> "$GITHUB_ENV" + echo "branch=${{ env.BRANCH_NAME }}" >> "$GITHUB_OUTPUT" - name: Show ENV and OUTPUT run: | echo ${{ env.BRANCH }} echo ${{ steps.shell.outputs.branch }} - name: Add ENV and OUTPUT by Script id: script - run: bash .github/scripts/setenv.sh --ref "${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }}" - - name: Show ENV and OUTPUT + run: bash .github/scripts/setenv.sh --ref "${{ env.BRANCH_NAME }}" + - name: Show Script ENV and OUTPUT run: | echo ${{ env.BRANCH_SCRIPT }} echo ${{ steps.script.outputs.branch }} @@ -516,26 +514,21 @@ jobs: - name: Add ENV and OUTPUT id: shell run: | - if ("${{ startsWith(github.event_name, 'pull_request') }}" -eq "true") { - echo "BRANCH=${{ github.head_ref }}" >> "${env:GITHUB_ENV}" - echo "branch=${{ github.head_ref }}" >> "${env:GITHUB_OUTPUT}" - } else { - echo "BRANCH=${{ github.ref_name }}" >> "${env:GITHUB_ENV}" - echo "branch=${{ github.ref_name }}" >> "${env:GITHUB_OUTPUT}" - } + echo "BRANCH=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_ENV}" + echo "branch=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_OUTPUT}" - name: Show ENV and OUTPUT run: | echo "${{ env.BRANCH }}" echo "${{ steps.shell.outputs.branch }}" - name: Add ENV and OUTPUT by Script id: script - run: ./.github/scripts/setenv.ps1 -Ref "${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }}" - - name: Show ENV and OUTPUT + run: ./.github/scripts/setenv.ps1 -Ref "${{ env.BRANCH_NAME }}" + - name: Show Script ENV and OUTPUT run: | echo "${{ env.BRANCH_SCRIPT }}" echo "${{ steps.script.outputs.branch }}" - name: Add PATH - run: echo "${env:HOME}/foo/bar" >> "${env:GITHUB_PATH}" + run: echo "$HOME/foo/bar" >> "${env:GITHUB_PATH}" - name: Show PATH run: echo "${env:PATH}" From 05b4f783ca0413bfc8f794c5d8ec772559ebcd90 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 16:29:01 +0900 Subject: [PATCH 29/52] ci: change to bash and pwsh --- .github/scripts/setenv.ps1 | 4 ++-- .github/workflows/env_with_script.yaml | 30 ++++++++++++++++++-------- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/.github/scripts/setenv.ps1 b/.github/scripts/setenv.ps1 index 6fc4b330..1f617afe 100644 --- a/.github/scripts/setenv.ps1 +++ b/.github/scripts/setenv.ps1 @@ -2,5 +2,5 @@ param( [string]$Ref ) -echo "BRANCH_SCRIPT=$($Ref -replace '.*/','')" >> $env:GITHUB_ENV -echo "branch=$($Ref -replace '.*/','')" >> $env:GITHUB_OUTPUT +echo "BRANCH_SCRIPT=$Ref" >> $env:GITHUB_ENV +echo "branch=$Ref" >> $env:GITHUB_OUTPUT diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index eb6068a5..75512475 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -10,12 +10,18 @@ env: BRANCH_NAME: ${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }} jobs: - ubuntu: - runs-on: ubuntu-latest + bash: + strategy: + matrix: + runs-on: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.runs-on }} timeout-minutes: 3 + defaults: + run: + shell: bash steps: - uses: actions/checkout@v4 - - name: Add ENV and OUTPUT + - name: Add ENV and OUTPUT by shell id: shell run: | echo "BRANCH=${{ env.BRANCH_NAME }}" >> "$GITHUB_ENV" @@ -26,7 +32,7 @@ jobs: echo ${{ steps.shell.outputs.branch }} - name: Add ENV and OUTPUT by Script id: script - run: bash .github/scripts/setenv.sh --ref "${{ env.BRANCH_NAME }}" + run: bash ./.github/scripts/setenv.sh --ref "${{ env.BRANCH_NAME }}" - name: Show Script ENV and OUTPUT run: | echo ${{ env.BRANCH_SCRIPT }} @@ -36,16 +42,22 @@ jobs: - name: Show PATH run: echo "$PATH" - windows: - runs-on: windows-latest + powershell: + strategy: + matrix: + runs-on: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.runs-on }} timeout-minutes: 3 + defaults: + run: + shell: pwsh steps: - uses: actions/checkout@v4 - - name: Add ENV and OUTPUT + - name: Add ENV and OUTPUT by shell id: shell run: | - echo "BRANCH=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_ENV}" - echo "branch=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_OUTPUT}" + echo "BRANCH=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_ENV}" + echo "branch=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_OUTPUT}" - name: Show ENV and OUTPUT run: | echo "${{ env.BRANCH }}" From c2c41e9343ea2aca2b05c8ff59b1e8b890b38e50 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:29:26 +0000 Subject: [PATCH 30/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 23 ++++----- .../pull_request_target_synchronize.json | 48 +++++++++---------- 2 files changed, 36 insertions(+), 35 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index 726cee67..c0548a6d 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_b2a697bb-927d-44e5-b622-7ecc6abdb52d" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_b2a697bb-927d-44e5-b622-7ecc6abdb52d" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_b2a697bb-927d-44e5-b622-7ecc6abdb52d" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,12 +49,12 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794979986" -declare -x GITHUB_RUN_NUMBER="419" +declare -x GITHUB_RUN_ID="6795068053" +declare -x GITHUB_RUN_NUMBER="421" declare -x GITHUB_SERVER_URL="https://github.com" declare -x GITHUB_SHA="147fa89e19dc55ea8e05da5b4bf2afb63206bf0b" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_b2a697bb-927d-44e5-b622-7ecc6abdb52d" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_b2a697bb-927d-44e5-b622-7ecc6abdb52d" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="a173dacc4828443fab3b8c1dd934e141" +declare -x INVOCATION_ID="3b37c98aff4c475d84c79089c4f699a3" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17814" +declare -x JOURNAL_STREAM="8:16238" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -95,7 +95,7 @@ declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_0fc6b6d4-40a1-401e-9604-86a230f149ec" +declare -x RUNNER_TRACKING_ID="github_6eb42de4-eba7-4698-a914-6906339c25b2" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -104,6 +104,7 @@ declare -x SHLVL="1" declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" +declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -111,7 +112,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="580" +declare -x SYSTEMD_EXEC_PID="575" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index b2f1bca6..be6f5bf6 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,5 +1,5 @@ { - "token": "ghs_D2R2RjE0qFSntnZJol9ihlpFYl3ZRb4NIsdC", + "token": "ghs_eRzhzXUvhlRm9xndRpKsRzUilL6j1i2eiFlE", "job": "dump-context", "ref": "refs/heads/main", "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", @@ -7,8 +7,8 @@ "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794979986", - "run_number": "419", + "run_id": "6795068053", + "run_number": "421", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "2f344f648e54a6bd4be56165e7e3e3dfdab6da09", - "before": "4b3c3573736726725e21f64470719a83ed78eb1b", + "after": "05b4f783ca0413bfc8f794c5d8ec772559ebcd90", + "before": "c76f75dcf2653069a096356fbe644b3a2f871c5a", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/2f344f648e54a6bd4be56165e7e3e3dfdab6da09" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/05b4f783ca0413bfc8f794c5d8ec772559ebcd90" } }, "active_lock_reason": null, - "additions": 631, + "additions": 636, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,9 +157,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:17:45Z", + "pushed_at": "2023-11-08T07:29:03Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1247, + "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -210,10 +210,10 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 28, + "commits": 32, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 156, + "deletions": 157, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,9 +312,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:17:45Z", + "pushed_at": "2023-11-08T07:29:03Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1247, + "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "2f344f648e54a6bd4be56165e7e3e3dfdab6da09", + "sha": "05b4f783ca0413bfc8f794c5d8ec772559ebcd90", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "14695295d6d0ff32948d2b96d7067c340452b0bc", + "merge_commit_sha": "868d965059449da62ea165e021b0b4c8b0c8c608", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/2f344f648e54a6bd4be56165e7e3e3dfdab6da09", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/05b4f783ca0413bfc8f794c5d8ec772559ebcd90", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T07:17:47Z", + "updated_at": "2023-11-08T07:29:05Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,9 +493,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:17:45Z", + "pushed_at": "2023-11-08T07:29:03Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1247, + "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", "stargazers_count": 32, "stargazers_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/stargazers", @@ -551,9 +551,9 @@ "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_f5b407ea-54e2-4040-8ba9-5d5b5d28c0f2" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_b2a697bb-927d-44e5-b622-7ecc6abdb52d", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_b2a697bb-927d-44e5-b622-7ecc6abdb52d", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_b2a697bb-927d-44e5-b622-7ecc6abdb52d", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_b2a697bb-927d-44e5-b622-7ecc6abdb52d", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_b2a697bb-927d-44e5-b622-7ecc6abdb52d" } From d8395153055cac2f5fae319e6b2b5f4656b9e3db Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:29:29 +0000 Subject: [PATCH 31/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7561a5bd..185309cd 100644 --- a/README.md +++ b/README.md @@ -480,12 +480,18 @@ env: BRANCH_NAME: ${{ startsWith(github.event_name, 'pull_request') && github.head_ref || github.ref_name }} jobs: - ubuntu: - runs-on: ubuntu-latest + bash: + strategy: + matrix: + runs-on: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.runs-on }} timeout-minutes: 3 + defaults: + run: + shell: bash steps: - uses: actions/checkout@v4 - - name: Add ENV and OUTPUT + - name: Add ENV and OUTPUT by shell id: shell run: | echo "BRANCH=${{ env.BRANCH_NAME }}" >> "$GITHUB_ENV" @@ -496,7 +502,7 @@ jobs: echo ${{ steps.shell.outputs.branch }} - name: Add ENV and OUTPUT by Script id: script - run: bash .github/scripts/setenv.sh --ref "${{ env.BRANCH_NAME }}" + run: bash ./.github/scripts/setenv.sh --ref "${{ env.BRANCH_NAME }}" - name: Show Script ENV and OUTPUT run: | echo ${{ env.BRANCH_SCRIPT }} @@ -506,16 +512,22 @@ jobs: - name: Show PATH run: echo "$PATH" - windows: - runs-on: windows-latest + powershell: + strategy: + matrix: + runs-on: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.runs-on }} timeout-minutes: 3 + defaults: + run: + shell: pwsh steps: - uses: actions/checkout@v4 - - name: Add ENV and OUTPUT + - name: Add ENV and OUTPUT by shell id: shell run: | - echo "BRANCH=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_ENV}" - echo "branch=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_OUTPUT}" + echo "BRANCH=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_ENV}" + echo "branch=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_OUTPUT}" - name: Show ENV and OUTPUT run: | echo "${{ env.BRANCH }}" From 9bda77bf7b287de82a0c57a2a78c0326ee188d7e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:29:47 +0000 Subject: [PATCH 32/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 29 ++++++----- contexts/github/pull_request_synchronize.json | 52 +++++++++---------- contexts/runner/pull_request_synchronize.json | 2 +- 3 files changed, 42 insertions(+), 41 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index 9978a79b..4fa9f266 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_e3a88451-dadf-4823-815d-5091fe9d8caf" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_685193ec-084c-4531-8e5e-f2d4bce25e61" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_e3a88451-dadf-4823-815d-5091fe9d8caf" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_e3a88451-dadf-4823-815d-5091fe9d8caf" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_685193ec-084c-4531-8e5e-f2d4bce25e61" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_685193ec-084c-4531-8e5e-f2d4bce25e61" declare -x GITHUB_REF="refs/pull/128/merge" declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6794980226" -declare -x GITHUB_RUN_NUMBER="420" +declare -x GITHUB_RUN_ID="6795068287" +declare -x GITHUB_RUN_NUMBER="422" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="8164e4e17fa571d77c02ba27501b9f4e421444e6" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_e3a88451-dadf-4823-815d-5091fe9d8caf" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_e3a88451-dadf-4823-815d-5091fe9d8caf" +declare -x GITHUB_SHA="a05e2a21560ab7e8cb5088eee10139479062d3ad" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_685193ec-084c-4531-8e5e-f2d4bce25e61" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_685193ec-084c-4531-8e5e-f2d4bce25e61" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" -declare -x GITHUB_WORKFLOW_SHA="8164e4e17fa571d77c02ba27501b9f4e421444e6" +declare -x GITHUB_WORKFLOW_SHA="a05e2a21560ab7e8cb5088eee10139479062d3ad" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="534cbfb9ada14225b7b8569d09002a63" +declare -x INVOCATION_ID="6a95bb0a81644c879e05e82b3960b248" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:18031" +declare -x JOURNAL_STREAM="8:17840" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,17 +90,18 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 15" +declare -x RUNNER_NAME="GitHub Actions 37" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_752d08fe-c52a-4db5-9d2a-920bd106091f" +declare -x RUNNER_TRACKING_ID="github_1387a369-48ac-45cb-aa78-9b70031f7dc2" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" declare -x SGX_AESM_ADDR="1" declare -x SHLVL="1" +declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" declare -x STATS_RDCL="true" @@ -110,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="590" +declare -x SYSTEMD_EXEC_PID="580" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index b8f73738..1c41b208 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_oeg5ChYYZo0dABZkYwGuteWKliCkZF2RYhNm", + "token": "ghs_WHoWyvtQMgfjYzVMNMwRaVexnzUHzd3Vr5HR", "job": "dump-context", "ref": "refs/pull/128/merge", - "sha": "8164e4e17fa571d77c02ba27501b9f4e421444e6", + "sha": "a05e2a21560ab7e8cb5088eee10139479062d3ad", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6794980226", - "run_number": "420", + "run_id": "6795068287", + "run_number": "422", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request", "event": { "action": "synchronize", - "after": "2f344f648e54a6bd4be56165e7e3e3dfdab6da09", - "before": "4b3c3573736726725e21f64470719a83ed78eb1b", + "after": "05b4f783ca0413bfc8f794c5d8ec772559ebcd90", + "before": "c76f75dcf2653069a096356fbe644b3a2f871c5a", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/2f344f648e54a6bd4be56165e7e3e3dfdab6da09" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/05b4f783ca0413bfc8f794c5d8ec772559ebcd90" } }, "active_lock_reason": null, - "additions": 631, + "additions": 636, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,9 +157,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:17:45Z", + "pushed_at": "2023-11-08T07:29:03Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1247, + "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -210,10 +210,10 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 28, + "commits": 32, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 156, + "deletions": 157, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,9 +312,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:17:45Z", + "pushed_at": "2023-11-08T07:29:03Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1247, + "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "2f344f648e54a6bd4be56165e7e3e3dfdab6da09", + "sha": "05b4f783ca0413bfc8f794c5d8ec772559ebcd90", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "14695295d6d0ff32948d2b96d7067c340452b0bc", + "merge_commit_sha": "868d965059449da62ea165e021b0b4c8b0c8c608", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/2f344f648e54a6bd4be56165e7e3e3dfdab6da09", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/05b4f783ca0413bfc8f794c5d8ec772559ebcd90", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T07:17:47Z", + "updated_at": "2023-11-08T07:29:05Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,9 +493,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:17:45Z", + "pushed_at": "2023-11-08T07:29:03Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", - "size": 1247, + "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", "stargazers_count": 32, "stargazers_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/stargazers", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", - "workflow_sha": "8164e4e17fa571d77c02ba27501b9f4e421444e6", + "workflow_sha": "a05e2a21560ab7e8cb5088eee10139479062d3ad", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_e3a88451-dadf-4823-815d-5091fe9d8caf", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_e3a88451-dadf-4823-815d-5091fe9d8caf", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_e3a88451-dadf-4823-815d-5091fe9d8caf", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_e3a88451-dadf-4823-815d-5091fe9d8caf", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_e3a88451-dadf-4823-815d-5091fe9d8caf" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_685193ec-084c-4531-8e5e-f2d4bce25e61", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_685193ec-084c-4531-8e5e-f2d4bce25e61", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_685193ec-084c-4531-8e5e-f2d4bce25e61", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_685193ec-084c-4531-8e5e-f2d4bce25e61", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_685193ec-084c-4531-8e5e-f2d4bce25e61" } diff --git a/contexts/runner/pull_request_synchronize.json b/contexts/runner/pull_request_synchronize.json index dbd8bead..cf157a49 100644 --- a/contexts/runner/pull_request_synchronize.json +++ b/contexts/runner/pull_request_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 15", + "name": "GitHub Actions 37", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 464d60788c9d0c0ce415f23d0c9deffd12f4c02b Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 16:49:38 +0900 Subject: [PATCH 33/52] ci: add cmd --- .github/scripts/setenv.bat | 11 +++++++++ .github/workflows/env_with_script.yaml | 32 ++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .github/scripts/setenv.bat diff --git a/.github/scripts/setenv.bat b/.github/scripts/setenv.bat new file mode 100644 index 00000000..d8b7e087 --- /dev/null +++ b/.github/scripts/setenv.bat @@ -0,0 +1,11 @@ +setlocal +:parse + if "%~1"=="" GOTO endparse + if "%~1"=="--ref" (set _REF=%~2) + shift + GOTO parse +:endparse +endlocal + +echo "BRANCH_SCRIPT=%_REF%" >> %GITHUB_ENV% +echo "branch=%_REF%" >> %GITHUB_OUTPUT% diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index 75512475..aa54b566 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -73,3 +73,35 @@ jobs: run: echo "$HOME/foo/bar" >> "${env:GITHUB_PATH}" - name: Show PATH run: echo "${env:PATH}" + + cmd: + strategy: + matrix: + runs-on: [windows-latest] + runs-on: ${{ matrix.runs-on }} + timeout-minutes: 3 + defaults: + run: + shell: cmd + steps: + - uses: actions/checkout@v4 + - name: Add ENV and OUTPUT by shell + id: shell + run: | + echo "BRANCH=${{ env.BRANCH_NAME }}" >> %GITHUB_ENV% + echo "branch=${{ env.BRANCH_NAME }}" >> %GITHUB_OUTPUT% + - name: Show ENV and OUTPUT + run: | + echo "${{ env.BRANCH }}" + echo "${{ steps.shell.outputs.branch }}" + - name: Add ENV and OUTPUT by Script + id: script + run: .github/scripts/setenv.bat --ref "${{ env.BRANCH_NAME }}" + - name: Show Script ENV and OUTPUT + run: | + echo "${{ env.BRANCH_SCRIPT }}" + echo "${{ steps.script.outputs.branch }}" + - name: Add PATH + run: echo "$HOME\foo\bar" >> %GITHUB_PATH% + - name: Show PATH + run: echo "${env:PATH}" From 5f4d843aae89b9d53b7a88a55e6bd969bd22aac1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:50:08 +0000 Subject: [PATCH 34/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 25 +++++------ .../pull_request_target_synchronize.json | 44 +++++++++---------- .../pull_request_target_synchronize.json | 2 +- 3 files changed, 35 insertions(+), 36 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index c0548a6d..85247122 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_b2a697bb-927d-44e5-b622-7ecc6abdb52d" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_e245c531-3895-4288-9617-6803cca4b28c" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_b2a697bb-927d-44e5-b622-7ecc6abdb52d" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_b2a697bb-927d-44e5-b622-7ecc6abdb52d" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_e245c531-3895-4288-9617-6803cca4b28c" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_e245c531-3895-4288-9617-6803cca4b28c" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,12 +49,12 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6795068053" -declare -x GITHUB_RUN_NUMBER="421" +declare -x GITHUB_RUN_ID="6795235092" +declare -x GITHUB_RUN_NUMBER="423" declare -x GITHUB_SERVER_URL="https://github.com" declare -x GITHUB_SHA="147fa89e19dc55ea8e05da5b4bf2afb63206bf0b" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_b2a697bb-927d-44e5-b622-7ecc6abdb52d" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_b2a697bb-927d-44e5-b622-7ecc6abdb52d" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_e245c531-3895-4288-9617-6803cca4b28c" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_e245c531-3895-4288-9617-6803cca4b28c" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="3b37c98aff4c475d84c79089c4f699a3" +declare -x INVOCATION_ID="50f6779521834121aeb201e43feeaf6a" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:16238" +declare -x JOURNAL_STREAM="8:18428" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 4" +declare -x RUNNER_NAME="GitHub Actions 26" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_6eb42de4-eba7-4698-a914-6906339c25b2" +declare -x RUNNER_TRACKING_ID="github_955de383-99ef-493c-9166-a5e65ee9a743" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -104,7 +104,6 @@ declare -x SHLVL="1" declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" -declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -112,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="575" +declare -x SYSTEMD_EXEC_PID="595" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index be6f5bf6..f752bcf3 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,5 +1,5 @@ { - "token": "ghs_eRzhzXUvhlRm9xndRpKsRzUilL6j1i2eiFlE", + "token": "ghs_dDQ9TkoW810XdfzrVJdsPyUV8qkqfP31OFyN", "job": "dump-context", "ref": "refs/heads/main", "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", @@ -7,8 +7,8 @@ "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6795068053", - "run_number": "421", + "run_id": "6795235092", + "run_number": "423", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "05b4f783ca0413bfc8f794c5d8ec772559ebcd90", - "before": "c76f75dcf2653069a096356fbe644b3a2f871c5a", + "after": "464d60788c9d0c0ce415f23d0c9deffd12f4c02b", + "before": "9bda77bf7b287de82a0c57a2a78c0326ee188d7e", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/05b4f783ca0413bfc8f794c5d8ec772559ebcd90" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/464d60788c9d0c0ce415f23d0c9deffd12f4c02b" } }, "active_lock_reason": null, - "additions": 636, + "additions": 694, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:29:03Z", + "pushed_at": "2023-11-08T07:49:40Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -206,14 +206,14 @@ } }, "body": null, - "changed_files": 16, + "changed_files": 17, "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 32, + "commits": 36, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 157, + "deletions": 158, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:29:03Z", + "pushed_at": "2023-11-08T07:49:40Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "05b4f783ca0413bfc8f794c5d8ec772559ebcd90", + "sha": "464d60788c9d0c0ce415f23d0c9deffd12f4c02b", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "868d965059449da62ea165e021b0b4c8b0c8c608", + "merge_commit_sha": "219db026e49e36f732af5c69b0129f01f3b9862c", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/05b4f783ca0413bfc8f794c5d8ec772559ebcd90", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/464d60788c9d0c0ce415f23d0c9deffd12f4c02b", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T07:29:05Z", + "updated_at": "2023-11-08T07:49:42Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:29:03Z", + "pushed_at": "2023-11-08T07:49:40Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -551,9 +551,9 @@ "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_b2a697bb-927d-44e5-b622-7ecc6abdb52d", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_b2a697bb-927d-44e5-b622-7ecc6abdb52d", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_b2a697bb-927d-44e5-b622-7ecc6abdb52d", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_b2a697bb-927d-44e5-b622-7ecc6abdb52d", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_b2a697bb-927d-44e5-b622-7ecc6abdb52d" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_e245c531-3895-4288-9617-6803cca4b28c", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_e245c531-3895-4288-9617-6803cca4b28c", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_e245c531-3895-4288-9617-6803cca4b28c", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_e245c531-3895-4288-9617-6803cca4b28c", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_e245c531-3895-4288-9617-6803cca4b28c" } diff --git a/contexts/runner/pull_request_target_synchronize.json b/contexts/runner/pull_request_target_synchronize.json index 02369cc6..2af5235a 100644 --- a/contexts/runner/pull_request_target_synchronize.json +++ b/contexts/runner/pull_request_target_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 4", + "name": "GitHub Actions 26", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 3c51b6177139c0232a8bc1becc5bad321cb0e949 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:50:22 +0000 Subject: [PATCH 35/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index 185309cd..bda3850b 100644 --- a/README.md +++ b/README.md @@ -544,6 +544,38 @@ jobs: - name: Show PATH run: echo "${env:PATH}" + cmd: + strategy: + matrix: + runs-on: [windows-latest] + runs-on: ${{ matrix.runs-on }} + timeout-minutes: 3 + defaults: + run: + shell: cmd + steps: + - uses: actions/checkout@v4 + - name: Add ENV and OUTPUT by shell + id: shell + run: | + echo "BRANCH=${{ env.BRANCH_NAME }}" >> %GITHUB_ENV% + echo "branch=${{ env.BRANCH_NAME }}" >> %GITHUB_OUTPUT% + - name: Show ENV and OUTPUT + run: | + echo "${{ env.BRANCH }}" + echo "${{ steps.shell.outputs.branch }}" + - name: Add ENV and OUTPUT by Script + id: script + run: .github/scripts/setenv.bat --ref "${{ env.BRANCH_NAME }}" + - name: Show Script ENV and OUTPUT + run: | + echo "${{ env.BRANCH_SCRIPT }}" + echo "${{ steps.script.outputs.branch }}" + - name: Add PATH + run: echo "$HOME\foo\bar" >> %GITHUB_PATH% + - name: Show PATH + run: echo "${env:PATH}" + ``` ## If and context reference From 6c27b63d01b5bac8d005d5110c3ecddf9b3e20a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:50:30 +0000 Subject: [PATCH 36/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 29 +++++------ contexts/github/pull_request_synchronize.json | 48 +++++++++---------- contexts/runner/pull_request_synchronize.json | 2 +- 3 files changed, 40 insertions(+), 39 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index 4fa9f266..ddd257ef 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_685193ec-084c-4531-8e5e-f2d4bce25e61" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_d7369342-066a-46de-9f51-0396b016624a" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_685193ec-084c-4531-8e5e-f2d4bce25e61" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_685193ec-084c-4531-8e5e-f2d4bce25e61" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_d7369342-066a-46de-9f51-0396b016624a" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_d7369342-066a-46de-9f51-0396b016624a" declare -x GITHUB_REF="refs/pull/128/merge" declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6795068287" -declare -x GITHUB_RUN_NUMBER="422" +declare -x GITHUB_RUN_ID="6795235216" +declare -x GITHUB_RUN_NUMBER="424" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="a05e2a21560ab7e8cb5088eee10139479062d3ad" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_685193ec-084c-4531-8e5e-f2d4bce25e61" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_685193ec-084c-4531-8e5e-f2d4bce25e61" +declare -x GITHUB_SHA="383268cf704526807e56adce619d7a872398fb4a" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_d7369342-066a-46de-9f51-0396b016624a" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_d7369342-066a-46de-9f51-0396b016624a" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" -declare -x GITHUB_WORKFLOW_SHA="a05e2a21560ab7e8cb5088eee10139479062d3ad" +declare -x GITHUB_WORKFLOW_SHA="383268cf704526807e56adce619d7a872398fb4a" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="6a95bb0a81644c879e05e82b3960b248" +declare -x INVOCATION_ID="a02c8689eb5c4e89b73fb4bec2945c44" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17840" +declare -x JOURNAL_STREAM="8:17523" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 37" +declare -x RUNNER_NAME="GitHub Actions 35" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_1387a369-48ac-45cb-aa78-9b70031f7dc2" +declare -x RUNNER_TRACKING_ID="github_db557566-23a3-4f20-92ea-1f16cd5832f3" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -104,6 +104,7 @@ declare -x SHLVL="1" declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" +declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -111,7 +112,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="580" +declare -x SYSTEMD_EXEC_PID="569" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index 1c41b208..49eccf7f 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_WHoWyvtQMgfjYzVMNMwRaVexnzUHzd3Vr5HR", + "token": "ghs_8cD308DHKpm43xGYT8vot4rOZMSgIG3Y3iPh", "job": "dump-context", "ref": "refs/pull/128/merge", - "sha": "a05e2a21560ab7e8cb5088eee10139479062d3ad", + "sha": "383268cf704526807e56adce619d7a872398fb4a", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6795068287", - "run_number": "422", + "run_id": "6795235216", + "run_number": "424", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request", "event": { "action": "synchronize", - "after": "05b4f783ca0413bfc8f794c5d8ec772559ebcd90", - "before": "c76f75dcf2653069a096356fbe644b3a2f871c5a", + "after": "464d60788c9d0c0ce415f23d0c9deffd12f4c02b", + "before": "9bda77bf7b287de82a0c57a2a78c0326ee188d7e", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/05b4f783ca0413bfc8f794c5d8ec772559ebcd90" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/464d60788c9d0c0ce415f23d0c9deffd12f4c02b" } }, "active_lock_reason": null, - "additions": 636, + "additions": 694, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:29:03Z", + "pushed_at": "2023-11-08T07:49:40Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -206,14 +206,14 @@ } }, "body": null, - "changed_files": 16, + "changed_files": 17, "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 32, + "commits": 36, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", - "deletions": 157, + "deletions": 158, "diff_url": "https://github.com/guitarrapc/githubactions-lab/pull/128.diff", "draft": false, "head": { @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:29:03Z", + "pushed_at": "2023-11-08T07:49:40Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "05b4f783ca0413bfc8f794c5d8ec772559ebcd90", + "sha": "464d60788c9d0c0ce415f23d0c9deffd12f4c02b", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "868d965059449da62ea165e021b0b4c8b0c8c608", + "merge_commit_sha": "219db026e49e36f732af5c69b0129f01f3b9862c", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/05b4f783ca0413bfc8f794c5d8ec772559ebcd90", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/464d60788c9d0c0ce415f23d0c9deffd12f4c02b", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T07:29:05Z", + "updated_at": "2023-11-08T07:49:42Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:29:03Z", + "pushed_at": "2023-11-08T07:49:40Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", - "workflow_sha": "a05e2a21560ab7e8cb5088eee10139479062d3ad", + "workflow_sha": "383268cf704526807e56adce619d7a872398fb4a", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_685193ec-084c-4531-8e5e-f2d4bce25e61", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_685193ec-084c-4531-8e5e-f2d4bce25e61", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_685193ec-084c-4531-8e5e-f2d4bce25e61", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_685193ec-084c-4531-8e5e-f2d4bce25e61", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_685193ec-084c-4531-8e5e-f2d4bce25e61" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_d7369342-066a-46de-9f51-0396b016624a", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_d7369342-066a-46de-9f51-0396b016624a", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_d7369342-066a-46de-9f51-0396b016624a", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_d7369342-066a-46de-9f51-0396b016624a", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_d7369342-066a-46de-9f51-0396b016624a" } diff --git a/contexts/runner/pull_request_synchronize.json b/contexts/runner/pull_request_synchronize.json index cf157a49..e22e8f6a 100644 --- a/contexts/runner/pull_request_synchronize.json +++ b/contexts/runner/pull_request_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 37", + "name": "GitHub Actions 35", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 2750bf8c5d0dbce3a4eee8f5b53d47db12fca095 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 16:54:06 +0900 Subject: [PATCH 37/52] chore: remove double quote on bat --- .github/scripts/setenv.bat | 4 ++-- .github/workflows/env_with_script.yaml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/scripts/setenv.bat b/.github/scripts/setenv.bat index d8b7e087..eaaada39 100644 --- a/.github/scripts/setenv.bat +++ b/.github/scripts/setenv.bat @@ -7,5 +7,5 @@ setlocal :endparse endlocal -echo "BRANCH_SCRIPT=%_REF%" >> %GITHUB_ENV% -echo "branch=%_REF%" >> %GITHUB_OUTPUT% +echo BRANCH_SCRIPT=%_REF% >> %GITHUB_ENV% +echo branch=%_REF% >> %GITHUB_OUTPUT% diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index aa54b566..56c2d79c 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -88,19 +88,19 @@ jobs: - name: Add ENV and OUTPUT by shell id: shell run: | - echo "BRANCH=${{ env.BRANCH_NAME }}" >> %GITHUB_ENV% - echo "branch=${{ env.BRANCH_NAME }}" >> %GITHUB_OUTPUT% + echo BRANCH=${{ env.BRANCH_NAME }} >> %GITHUB_ENV% + echo branch=${{ env.BRANCH_NAME }} >> %GITHUB_OUTPUT% - name: Show ENV and OUTPUT run: | - echo "${{ env.BRANCH }}" - echo "${{ steps.shell.outputs.branch }}" + echo ${{ env.BRANCH }} + echo ${{ steps.shell.outputs.branch }} - name: Add ENV and OUTPUT by Script id: script run: .github/scripts/setenv.bat --ref "${{ env.BRANCH_NAME }}" - name: Show Script ENV and OUTPUT run: | - echo "${{ env.BRANCH_SCRIPT }}" - echo "${{ steps.script.outputs.branch }}" + echo ${{ env.BRANCH_SCRIPT }} + echo ${{ steps.script.outputs.branch }} - name: Add PATH run: echo "$HOME\foo\bar" >> %GITHUB_PATH% - name: Show PATH From 045ef173ae7ec2c118d5893126113814a6479205 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:54:32 +0000 Subject: [PATCH 38/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 24 +++++------ .../pull_request_target_synchronize.json | 40 +++++++++---------- .../pull_request_target_synchronize.json | 2 +- 3 files changed, 33 insertions(+), 33 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index 85247122..e18f09c0 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_e245c531-3895-4288-9617-6803cca4b28c" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_63206e20-9ef3-4371-9200-3e86217ea002" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_e245c531-3895-4288-9617-6803cca4b28c" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_e245c531-3895-4288-9617-6803cca4b28c" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_63206e20-9ef3-4371-9200-3e86217ea002" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_63206e20-9ef3-4371-9200-3e86217ea002" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,12 +49,12 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6795235092" -declare -x GITHUB_RUN_NUMBER="423" +declare -x GITHUB_RUN_ID="6795272368" +declare -x GITHUB_RUN_NUMBER="425" declare -x GITHUB_SERVER_URL="https://github.com" declare -x GITHUB_SHA="147fa89e19dc55ea8e05da5b4bf2afb63206bf0b" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_e245c531-3895-4288-9617-6803cca4b28c" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_e245c531-3895-4288-9617-6803cca4b28c" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_63206e20-9ef3-4371-9200-3e86217ea002" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_63206e20-9ef3-4371-9200-3e86217ea002" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="50f6779521834121aeb201e43feeaf6a" +declare -x INVOCATION_ID="255090c43e2842caa74e024a29cc2276" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:18428" +declare -x JOURNAL_STREAM="8:18129" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 26" +declare -x RUNNER_NAME="GitHub Actions 4" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_955de383-99ef-493c-9166-a5e65ee9a743" +declare -x RUNNER_TRACKING_ID="github_fd265af1-b365-4e24-970a-503c22497e0f" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -111,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="595" +declare -x SYSTEMD_EXEC_PID="568" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index f752bcf3..8ce11c62 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,5 +1,5 @@ { - "token": "ghs_dDQ9TkoW810XdfzrVJdsPyUV8qkqfP31OFyN", + "token": "ghs_Bl2ZStNuMflVij0Cg99tHJhvZjDYEt3fXsZZ", "job": "dump-context", "ref": "refs/heads/main", "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", @@ -7,8 +7,8 @@ "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6795235092", - "run_number": "423", + "run_id": "6795272368", + "run_number": "425", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "464d60788c9d0c0ce415f23d0c9deffd12f4c02b", - "before": "9bda77bf7b287de82a0c57a2a78c0326ee188d7e", + "after": "72e852320fc0eeaa33622426ac3180c7dd394c50", + "before": "6c27b63d01b5bac8d005d5110c3ecddf9b3e20a3", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/464d60788c9d0c0ce415f23d0c9deffd12f4c02b" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/72e852320fc0eeaa33622426ac3180c7dd394c50" } }, "active_lock_reason": null, - "additions": 694, + "additions": 726, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:49:40Z", + "pushed_at": "2023-11-08T07:54:10Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,7 +210,7 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 36, + "commits": 41, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", "deletions": 158, @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:49:40Z", + "pushed_at": "2023-11-08T07:54:10Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "464d60788c9d0c0ce415f23d0c9deffd12f4c02b", + "sha": "72e852320fc0eeaa33622426ac3180c7dd394c50", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "219db026e49e36f732af5c69b0129f01f3b9862c", + "merge_commit_sha": "82b6e16b6925ba654f07feed07cf9f6258a25a1c", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/464d60788c9d0c0ce415f23d0c9deffd12f4c02b", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/72e852320fc0eeaa33622426ac3180c7dd394c50", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T07:49:42Z", + "updated_at": "2023-11-08T07:54:12Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:49:40Z", + "pushed_at": "2023-11-08T07:54:10Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -551,9 +551,9 @@ "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_e245c531-3895-4288-9617-6803cca4b28c", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_e245c531-3895-4288-9617-6803cca4b28c", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_e245c531-3895-4288-9617-6803cca4b28c", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_e245c531-3895-4288-9617-6803cca4b28c", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_e245c531-3895-4288-9617-6803cca4b28c" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_63206e20-9ef3-4371-9200-3e86217ea002", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_63206e20-9ef3-4371-9200-3e86217ea002", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_63206e20-9ef3-4371-9200-3e86217ea002", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_63206e20-9ef3-4371-9200-3e86217ea002", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_63206e20-9ef3-4371-9200-3e86217ea002" } diff --git a/contexts/runner/pull_request_target_synchronize.json b/contexts/runner/pull_request_target_synchronize.json index 2af5235a..02369cc6 100644 --- a/contexts/runner/pull_request_target_synchronize.json +++ b/contexts/runner/pull_request_target_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 26", + "name": "GitHub Actions 4", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 0096a0af9fb5d19b150bfbe2179644c490dd298c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:54:50 +0000 Subject: [PATCH 39/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bda3850b..1d264726 100644 --- a/README.md +++ b/README.md @@ -558,19 +558,19 @@ jobs: - name: Add ENV and OUTPUT by shell id: shell run: | - echo "BRANCH=${{ env.BRANCH_NAME }}" >> %GITHUB_ENV% - echo "branch=${{ env.BRANCH_NAME }}" >> %GITHUB_OUTPUT% + echo BRANCH=${{ env.BRANCH_NAME }} >> %GITHUB_ENV% + echo branch=${{ env.BRANCH_NAME }} >> %GITHUB_OUTPUT% - name: Show ENV and OUTPUT run: | - echo "${{ env.BRANCH }}" - echo "${{ steps.shell.outputs.branch }}" + echo ${{ env.BRANCH }} + echo ${{ steps.shell.outputs.branch }} - name: Add ENV and OUTPUT by Script id: script run: .github/scripts/setenv.bat --ref "${{ env.BRANCH_NAME }}" - name: Show Script ENV and OUTPUT run: | - echo "${{ env.BRANCH_SCRIPT }}" - echo "${{ steps.script.outputs.branch }}" + echo ${{ env.BRANCH_SCRIPT }} + echo ${{ steps.script.outputs.branch }} - name: Add PATH run: echo "$HOME\foo\bar" >> %GITHUB_PATH% - name: Show PATH From eb2a92d5d884e1d3cf14770dfae58fe2bc3f93d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:54:52 +0000 Subject: [PATCH 40/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 29 ++++++------ contexts/github/pull_request_synchronize.json | 44 +++++++++---------- contexts/runner/pull_request_synchronize.json | 2 +- 3 files changed, 37 insertions(+), 38 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index ddd257ef..6bedf398 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_d7369342-066a-46de-9f51-0396b016624a" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_e505e4a0-026e-45c7-b2a3-76d33957b728" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_d7369342-066a-46de-9f51-0396b016624a" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_d7369342-066a-46de-9f51-0396b016624a" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_e505e4a0-026e-45c7-b2a3-76d33957b728" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_e505e4a0-026e-45c7-b2a3-76d33957b728" declare -x GITHUB_REF="refs/pull/128/merge" declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6795235216" -declare -x GITHUB_RUN_NUMBER="424" +declare -x GITHUB_RUN_ID="6795272579" +declare -x GITHUB_RUN_NUMBER="426" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="383268cf704526807e56adce619d7a872398fb4a" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_d7369342-066a-46de-9f51-0396b016624a" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_d7369342-066a-46de-9f51-0396b016624a" +declare -x GITHUB_SHA="90b49dd5a724f7f239a7032294f092f7bc50fd6a" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_e505e4a0-026e-45c7-b2a3-76d33957b728" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_e505e4a0-026e-45c7-b2a3-76d33957b728" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" -declare -x GITHUB_WORKFLOW_SHA="383268cf704526807e56adce619d7a872398fb4a" +declare -x GITHUB_WORKFLOW_SHA="90b49dd5a724f7f239a7032294f092f7bc50fd6a" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="a02c8689eb5c4e89b73fb4bec2945c44" +declare -x INVOCATION_ID="1504aea0bce04e75872ecef4da7e8c13" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17523" +declare -x JOURNAL_STREAM="8:17372" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 35" +declare -x RUNNER_NAME="GitHub Actions 22" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_db557566-23a3-4f20-92ea-1f16cd5832f3" +declare -x RUNNER_TRACKING_ID="github_b4e33454-2d24-4669-886f-2a401a49f66b" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -104,7 +104,6 @@ declare -x SHLVL="1" declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" -declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -112,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="569" +declare -x SYSTEMD_EXEC_PID="572" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index 49eccf7f..9c2b01fa 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_8cD308DHKpm43xGYT8vot4rOZMSgIG3Y3iPh", + "token": "ghs_x6AkMwNQ5lrYJydZ420x65o9l9hzYx2XcjL1", "job": "dump-context", "ref": "refs/pull/128/merge", - "sha": "383268cf704526807e56adce619d7a872398fb4a", + "sha": "90b49dd5a724f7f239a7032294f092f7bc50fd6a", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6795235216", - "run_number": "424", + "run_id": "6795272579", + "run_number": "426", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request", "event": { "action": "synchronize", - "after": "464d60788c9d0c0ce415f23d0c9deffd12f4c02b", - "before": "9bda77bf7b287de82a0c57a2a78c0326ee188d7e", + "after": "72e852320fc0eeaa33622426ac3180c7dd394c50", + "before": "6c27b63d01b5bac8d005d5110c3ecddf9b3e20a3", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/464d60788c9d0c0ce415f23d0c9deffd12f4c02b" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/72e852320fc0eeaa33622426ac3180c7dd394c50" } }, "active_lock_reason": null, - "additions": 694, + "additions": 726, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:49:40Z", + "pushed_at": "2023-11-08T07:54:10Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,7 +210,7 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 36, + "commits": 41, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", "deletions": 158, @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:49:40Z", + "pushed_at": "2023-11-08T07:54:10Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "464d60788c9d0c0ce415f23d0c9deffd12f4c02b", + "sha": "72e852320fc0eeaa33622426ac3180c7dd394c50", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "219db026e49e36f732af5c69b0129f01f3b9862c", + "merge_commit_sha": "82b6e16b6925ba654f07feed07cf9f6258a25a1c", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/464d60788c9d0c0ce415f23d0c9deffd12f4c02b", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/72e852320fc0eeaa33622426ac3180c7dd394c50", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T07:49:42Z", + "updated_at": "2023-11-08T07:54:12Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:49:40Z", + "pushed_at": "2023-11-08T07:54:10Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", - "workflow_sha": "383268cf704526807e56adce619d7a872398fb4a", + "workflow_sha": "90b49dd5a724f7f239a7032294f092f7bc50fd6a", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_d7369342-066a-46de-9f51-0396b016624a", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_d7369342-066a-46de-9f51-0396b016624a", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_d7369342-066a-46de-9f51-0396b016624a", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_d7369342-066a-46de-9f51-0396b016624a", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_d7369342-066a-46de-9f51-0396b016624a" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_e505e4a0-026e-45c7-b2a3-76d33957b728", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_e505e4a0-026e-45c7-b2a3-76d33957b728", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_e505e4a0-026e-45c7-b2a3-76d33957b728", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_e505e4a0-026e-45c7-b2a3-76d33957b728", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_e505e4a0-026e-45c7-b2a3-76d33957b728" } diff --git a/contexts/runner/pull_request_synchronize.json b/contexts/runner/pull_request_synchronize.json index e22e8f6a..029d266c 100644 --- a/contexts/runner/pull_request_synchronize.json +++ b/contexts/runner/pull_request_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 35", + "name": "GitHub Actions 22", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From bf4d0013c2218e42f6d9b49406c60f1963d670bf Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 17:00:50 +0900 Subject: [PATCH 41/52] ci: tee --- .github/scripts/setenv.bat | 2 +- .github/scripts/setenv.ps1 | 4 ++-- .github/scripts/setenv.sh | 4 ++-- .github/workflows/env_with_script.yaml | 15 ++++++++------- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/scripts/setenv.bat b/.github/scripts/setenv.bat index eaaada39..9f383c47 100644 --- a/.github/scripts/setenv.bat +++ b/.github/scripts/setenv.bat @@ -5,7 +5,7 @@ setlocal shift GOTO parse :endparse -endlocal echo BRANCH_SCRIPT=%_REF% >> %GITHUB_ENV% echo branch=%_REF% >> %GITHUB_OUTPUT% +endlocal diff --git a/.github/scripts/setenv.ps1 b/.github/scripts/setenv.ps1 index 1f617afe..4f2becf3 100644 --- a/.github/scripts/setenv.ps1 +++ b/.github/scripts/setenv.ps1 @@ -2,5 +2,5 @@ param( [string]$Ref ) -echo "BRANCH_SCRIPT=$Ref" >> $env:GITHUB_ENV -echo "branch=$Ref" >> $env:GITHUB_OUTPUT +echo "BRANCH_SCRIPT=$Ref" | Tee-Object -Append -FilePath $env:GITHUB_ENV +echo "branch=$Ref" | Tee-Object -Append -FilePath $env:GITHUB_OUTPUT diff --git a/.github/scripts/setenv.sh b/.github/scripts/setenv.sh index 2d534b5b..6fcc78b7 100644 --- a/.github/scripts/setenv.sh +++ b/.github/scripts/setenv.sh @@ -8,5 +8,5 @@ while [ $# -gt 0 ]; do esac done -echo BRANCH_SCRIPT=${GITHUB_REF} >> "$GITHUB_ENV" -echo branch=${GITHUB_REF} >> "$GITHUB_OUTPUT" +echo BRANCH_SCRIPT=${GITHUB_REF} | tee -a "$GITHUB_ENV" +echo branch=${GITHUB_REF} | tee -a "$GITHUB_OUTPUT" diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index 56c2d79c..92851ebe 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -24,8 +24,8 @@ jobs: - name: Add ENV and OUTPUT by shell id: shell run: | - echo "BRANCH=${{ env.BRANCH_NAME }}" >> "$GITHUB_ENV" - echo "branch=${{ env.BRANCH_NAME }}" >> "$GITHUB_OUTPUT" + echo "BRANCH=${{ env.BRANCH_NAME }}" | tee -a "$GITHUB_ENV" + echo "branch=${{ env.BRANCH_NAME }}" | tee -a "$GITHUB_OUTPUT" - name: Show ENV and OUTPUT run: | echo ${{ env.BRANCH }} @@ -38,7 +38,7 @@ jobs: echo ${{ env.BRANCH_SCRIPT }} echo ${{ steps.script.outputs.branch }} - name: Add PATH - run: echo "$HOME/foo/bar" >> "$GITHUB_PATH" + run: echo "$HOME/foo/bar" | tee -a "$GITHUB_PATH" - name: Show PATH run: echo "$PATH" @@ -56,8 +56,8 @@ jobs: - name: Add ENV and OUTPUT by shell id: shell run: | - echo "BRANCH=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_ENV}" - echo "branch=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_OUTPUT}" + echo "BRANCH=${{ env.BRANCH_NAME }}" | Tee-Object -Append -FilePath "${env:GITHUB_ENV}" + echo "branch=${{ env.BRANCH_NAME }}" | Tee-Object -Append -FilePath "${env:GITHUB_OUTPUT}" - name: Show ENV and OUTPUT run: | echo "${{ env.BRANCH }}" @@ -70,7 +70,7 @@ jobs: echo "${{ env.BRANCH_SCRIPT }}" echo "${{ steps.script.outputs.branch }}" - name: Add PATH - run: echo "$HOME/foo/bar" >> "${env:GITHUB_PATH}" + run: echo "$HOME/foo/bar" | Tee-Object -Append -FilePath "${env:GITHUB_PATH}" - name: Show PATH run: echo "${env:PATH}" @@ -85,6 +85,7 @@ jobs: shell: cmd steps: - uses: actions/checkout@v4 + # cmd must not use quotes!! - name: Add ENV and OUTPUT by shell id: shell run: | @@ -104,4 +105,4 @@ jobs: - name: Add PATH run: echo "$HOME\foo\bar" >> %GITHUB_PATH% - name: Show PATH - run: echo "${env:PATH}" + run: echo %PATH% From 2c5149059f19c91d39a480547c5e0a4ba733b08e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:01:22 +0000 Subject: [PATCH 42/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 23 +++++------ .../pull_request_target_synchronize.json | 38 +++++++++---------- 2 files changed, 31 insertions(+), 30 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index e18f09c0..ddc914a2 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_63206e20-9ef3-4371-9200-3e86217ea002" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_16c5e250-900d-4388-93b1-75e924d4a72c" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_63206e20-9ef3-4371-9200-3e86217ea002" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_63206e20-9ef3-4371-9200-3e86217ea002" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_16c5e250-900d-4388-93b1-75e924d4a72c" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_16c5e250-900d-4388-93b1-75e924d4a72c" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,12 +49,12 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6795272368" -declare -x GITHUB_RUN_NUMBER="425" +declare -x GITHUB_RUN_ID="6795326981" +declare -x GITHUB_RUN_NUMBER="427" declare -x GITHUB_SERVER_URL="https://github.com" declare -x GITHUB_SHA="147fa89e19dc55ea8e05da5b4bf2afb63206bf0b" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_63206e20-9ef3-4371-9200-3e86217ea002" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_63206e20-9ef3-4371-9200-3e86217ea002" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_16c5e250-900d-4388-93b1-75e924d4a72c" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_16c5e250-900d-4388-93b1-75e924d4a72c" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="255090c43e2842caa74e024a29cc2276" +declare -x INVOCATION_ID="98b079d0a4934e23aa46335ee7871ace" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:18129" +declare -x JOURNAL_STREAM="8:17570" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -95,7 +95,7 @@ declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_fd265af1-b365-4e24-970a-503c22497e0f" +declare -x RUNNER_TRACKING_ID="github_804a7ad9-c232-4bcb-899a-459cef31bd69" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -104,6 +104,7 @@ declare -x SHLVL="1" declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" +declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -111,7 +112,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="568" +declare -x SYSTEMD_EXEC_PID="586" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index 8ce11c62..e0403e5a 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,5 +1,5 @@ { - "token": "ghs_Bl2ZStNuMflVij0Cg99tHJhvZjDYEt3fXsZZ", + "token": "ghs_KNZd2MkyhVHwsLtG3CAffyECZelJkO1H57K9", "job": "dump-context", "ref": "refs/heads/main", "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", @@ -7,8 +7,8 @@ "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6795272368", - "run_number": "425", + "run_id": "6795326981", + "run_number": "427", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "72e852320fc0eeaa33622426ac3180c7dd394c50", - "before": "6c27b63d01b5bac8d005d5110c3ecddf9b3e20a3", + "after": "e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", + "before": "eb2a92d5d884e1d3cf14770dfae58fe2bc3f93d3", "number": 128, "pull_request": { "_links": { @@ -52,7 +52,7 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/72e852320fc0eeaa33622426ac3180c7dd394c50" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e" } }, "active_lock_reason": null, @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:54:10Z", + "pushed_at": "2023-11-08T08:00:57Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,7 +210,7 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 41, + "commits": 46, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", "deletions": 158, @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:54:10Z", + "pushed_at": "2023-11-08T08:00:57Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "72e852320fc0eeaa33622426ac3180c7dd394c50", + "sha": "e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "82b6e16b6925ba654f07feed07cf9f6258a25a1c", + "merge_commit_sha": "90b49dd5a724f7f239a7032294f092f7bc50fd6a", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/72e852320fc0eeaa33622426ac3180c7dd394c50", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T07:54:12Z", + "updated_at": "2023-11-08T08:00:58Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:54:10Z", + "pushed_at": "2023-11-08T08:00:57Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -551,9 +551,9 @@ "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_63206e20-9ef3-4371-9200-3e86217ea002", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_63206e20-9ef3-4371-9200-3e86217ea002", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_63206e20-9ef3-4371-9200-3e86217ea002", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_63206e20-9ef3-4371-9200-3e86217ea002", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_63206e20-9ef3-4371-9200-3e86217ea002" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_16c5e250-900d-4388-93b1-75e924d4a72c", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_16c5e250-900d-4388-93b1-75e924d4a72c", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_16c5e250-900d-4388-93b1-75e924d4a72c", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_16c5e250-900d-4388-93b1-75e924d4a72c", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_16c5e250-900d-4388-93b1-75e924d4a72c" } From eed11bbf66ea60b67240c8a76fdb1fad20504367 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:01:25 +0000 Subject: [PATCH 43/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1d264726..be2e91fd 100644 --- a/README.md +++ b/README.md @@ -453,8 +453,8 @@ while [ $# -gt 0 ]; do esac done -echo BRANCH_SCRIPT=${GITHUB_REF} >> "$GITHUB_ENV" -echo branch=${GITHUB_REF} >> "$GITHUB_OUTPUT" +echo BRANCH_SCRIPT=${GITHUB_REF} | tee -a "$GITHUB_ENV" +echo branch=${GITHUB_REF} | tee -a "$GITHUB_OUTPUT" ``` @@ -494,8 +494,8 @@ jobs: - name: Add ENV and OUTPUT by shell id: shell run: | - echo "BRANCH=${{ env.BRANCH_NAME }}" >> "$GITHUB_ENV" - echo "branch=${{ env.BRANCH_NAME }}" >> "$GITHUB_OUTPUT" + echo "BRANCH=${{ env.BRANCH_NAME }}" | tee -a "$GITHUB_ENV" + echo "branch=${{ env.BRANCH_NAME }}" | tee -a "$GITHUB_OUTPUT" - name: Show ENV and OUTPUT run: | echo ${{ env.BRANCH }} @@ -508,7 +508,7 @@ jobs: echo ${{ env.BRANCH_SCRIPT }} echo ${{ steps.script.outputs.branch }} - name: Add PATH - run: echo "$HOME/foo/bar" >> "$GITHUB_PATH" + run: echo "$HOME/foo/bar" | tee -a "$GITHUB_PATH" - name: Show PATH run: echo "$PATH" @@ -526,8 +526,8 @@ jobs: - name: Add ENV and OUTPUT by shell id: shell run: | - echo "BRANCH=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_ENV}" - echo "branch=${{ env.BRANCH_NAME }}" >> "${env:GITHUB_OUTPUT}" + echo "BRANCH=${{ env.BRANCH_NAME }}" | Tee-Object -Append -FilePath "${env:GITHUB_ENV}" + echo "branch=${{ env.BRANCH_NAME }}" | Tee-Object -Append -FilePath "${env:GITHUB_OUTPUT}" - name: Show ENV and OUTPUT run: | echo "${{ env.BRANCH }}" @@ -540,7 +540,7 @@ jobs: echo "${{ env.BRANCH_SCRIPT }}" echo "${{ steps.script.outputs.branch }}" - name: Add PATH - run: echo "$HOME/foo/bar" >> "${env:GITHUB_PATH}" + run: echo "$HOME/foo/bar" | Tee-Object -Append -FilePath "${env:GITHUB_PATH}" - name: Show PATH run: echo "${env:PATH}" @@ -555,6 +555,7 @@ jobs: shell: cmd steps: - uses: actions/checkout@v4 + # cmd must not use quotes!! - name: Add ENV and OUTPUT by shell id: shell run: | @@ -574,7 +575,7 @@ jobs: - name: Add PATH run: echo "$HOME\foo\bar" >> %GITHUB_PATH% - name: Show PATH - run: echo "${env:PATH}" + run: echo %PATH% ``` From dbeb1d4a6a02e9377e43fb724b9db6121b25cd51 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:01:46 +0000 Subject: [PATCH 44/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 29 +++++++------ contexts/github/pull_request_synchronize.json | 42 +++++++++---------- contexts/runner/pull_request_synchronize.json | 2 +- 3 files changed, 36 insertions(+), 37 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index 6bedf398..0b66542f 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_e505e4a0-026e-45c7-b2a3-76d33957b728" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_51b59328-3ad6-4376-82e5-fc212d0c56a9" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_e505e4a0-026e-45c7-b2a3-76d33957b728" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_e505e4a0-026e-45c7-b2a3-76d33957b728" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_51b59328-3ad6-4376-82e5-fc212d0c56a9" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_51b59328-3ad6-4376-82e5-fc212d0c56a9" declare -x GITHUB_REF="refs/pull/128/merge" declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6795272579" -declare -x GITHUB_RUN_NUMBER="426" +declare -x GITHUB_RUN_ID="6795327190" +declare -x GITHUB_RUN_NUMBER="428" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="90b49dd5a724f7f239a7032294f092f7bc50fd6a" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_e505e4a0-026e-45c7-b2a3-76d33957b728" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_e505e4a0-026e-45c7-b2a3-76d33957b728" +declare -x GITHUB_SHA="cc22431fef265e3b830d406c6ecb2ed1bd4f7d2e" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_51b59328-3ad6-4376-82e5-fc212d0c56a9" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_51b59328-3ad6-4376-82e5-fc212d0c56a9" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" -declare -x GITHUB_WORKFLOW_SHA="90b49dd5a724f7f239a7032294f092f7bc50fd6a" +declare -x GITHUB_WORKFLOW_SHA="cc22431fef265e3b830d406c6ecb2ed1bd4f7d2e" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="1504aea0bce04e75872ecef4da7e8c13" +declare -x INVOCATION_ID="fa4f1645d39846ed85f66be9e4edea06" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17372" +declare -x JOURNAL_STREAM="8:18954" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,18 +90,17 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 22" +declare -x RUNNER_NAME="GitHub Actions 36" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_b4e33454-2d24-4669-886f-2a401a49f66b" +declare -x RUNNER_TRACKING_ID="github_e7625997-93f2-4dd5-abf1-1bd4bfae9635" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" declare -x SGX_AESM_ADDR="1" declare -x SHLVL="1" -declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" declare -x STATS_RDCL="true" @@ -111,7 +110,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="572" +declare -x SYSTEMD_EXEC_PID="594" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index 9c2b01fa..51573542 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_x6AkMwNQ5lrYJydZ420x65o9l9hzYx2XcjL1", + "token": "ghs_qDlMXz696R3d5C5nDf3piF2r899Jdt0202Kt", "job": "dump-context", "ref": "refs/pull/128/merge", - "sha": "90b49dd5a724f7f239a7032294f092f7bc50fd6a", + "sha": "cc22431fef265e3b830d406c6ecb2ed1bd4f7d2e", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6795272579", - "run_number": "426", + "run_id": "6795327190", + "run_number": "428", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request", "event": { "action": "synchronize", - "after": "72e852320fc0eeaa33622426ac3180c7dd394c50", - "before": "6c27b63d01b5bac8d005d5110c3ecddf9b3e20a3", + "after": "e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", + "before": "eb2a92d5d884e1d3cf14770dfae58fe2bc3f93d3", "number": 128, "pull_request": { "_links": { @@ -52,7 +52,7 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/72e852320fc0eeaa33622426ac3180c7dd394c50" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e" } }, "active_lock_reason": null, @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:54:10Z", + "pushed_at": "2023-11-08T08:00:57Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,7 +210,7 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 41, + "commits": 46, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", "deletions": 158, @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:54:10Z", + "pushed_at": "2023-11-08T08:00:57Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "72e852320fc0eeaa33622426ac3180c7dd394c50", + "sha": "e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "82b6e16b6925ba654f07feed07cf9f6258a25a1c", + "merge_commit_sha": "90b49dd5a724f7f239a7032294f092f7bc50fd6a", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/72e852320fc0eeaa33622426ac3180c7dd394c50", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T07:54:12Z", + "updated_at": "2023-11-08T08:00:58Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T07:54:10Z", + "pushed_at": "2023-11-08T08:00:57Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", - "workflow_sha": "90b49dd5a724f7f239a7032294f092f7bc50fd6a", + "workflow_sha": "cc22431fef265e3b830d406c6ecb2ed1bd4f7d2e", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_e505e4a0-026e-45c7-b2a3-76d33957b728", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_e505e4a0-026e-45c7-b2a3-76d33957b728", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_e505e4a0-026e-45c7-b2a3-76d33957b728", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_e505e4a0-026e-45c7-b2a3-76d33957b728", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_e505e4a0-026e-45c7-b2a3-76d33957b728" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_51b59328-3ad6-4376-82e5-fc212d0c56a9", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_51b59328-3ad6-4376-82e5-fc212d0c56a9", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_51b59328-3ad6-4376-82e5-fc212d0c56a9", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_51b59328-3ad6-4376-82e5-fc212d0c56a9", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_51b59328-3ad6-4376-82e5-fc212d0c56a9" } diff --git a/contexts/runner/pull_request_synchronize.json b/contexts/runner/pull_request_synchronize.json index 029d266c..988a668e 100644 --- a/contexts/runner/pull_request_synchronize.json +++ b/contexts/runner/pull_request_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 22", + "name": "GitHub Actions 36", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 71599959de9f1a0f1416ff722e8491ff11ff2d7f Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 17:03:13 +0900 Subject: [PATCH 45/52] ci: %% --- .github/workflows/env_with_script.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index 92851ebe..1c32aa7f 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -103,6 +103,6 @@ jobs: echo ${{ env.BRANCH_SCRIPT }} echo ${{ steps.script.outputs.branch }} - name: Add PATH - run: echo "$HOME\foo\bar" >> %GITHUB_PATH% + run: echo "%HOME%\foo\bar" >> %GITHUB_PATH% - name: Show PATH run: echo %PATH% From d3d743ee0319fccc4bb0678031cf0ec07d4acfc0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:03:48 +0000 Subject: [PATCH 46/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 25 ++++++------ .../pull_request_target_synchronize.json | 40 +++++++++---------- .../pull_request_target_synchronize.json | 2 +- 3 files changed, 33 insertions(+), 34 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index ddc914a2..3e06f451 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_16c5e250-900d-4388-93b1-75e924d4a72c" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_59cfac8f-4a64-459a-a497-bd6c3fcba281" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_16c5e250-900d-4388-93b1-75e924d4a72c" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_16c5e250-900d-4388-93b1-75e924d4a72c" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_59cfac8f-4a64-459a-a497-bd6c3fcba281" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_59cfac8f-4a64-459a-a497-bd6c3fcba281" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,12 +49,12 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6795326981" -declare -x GITHUB_RUN_NUMBER="427" +declare -x GITHUB_RUN_ID="6795352266" +declare -x GITHUB_RUN_NUMBER="429" declare -x GITHUB_SERVER_URL="https://github.com" declare -x GITHUB_SHA="147fa89e19dc55ea8e05da5b4bf2afb63206bf0b" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_16c5e250-900d-4388-93b1-75e924d4a72c" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_16c5e250-900d-4388-93b1-75e924d4a72c" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_59cfac8f-4a64-459a-a497-bd6c3fcba281" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_59cfac8f-4a64-459a-a497-bd6c3fcba281" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="98b079d0a4934e23aa46335ee7871ace" +declare -x INVOCATION_ID="816cee0726a54ecf9585914aef0d2d8b" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17570" +declare -x JOURNAL_STREAM="8:17080" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 4" +declare -x RUNNER_NAME="GitHub Actions 39" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_804a7ad9-c232-4bcb-899a-459cef31bd69" +declare -x RUNNER_TRACKING_ID="github_1806d8a4-919e-4a2b-a6b7-7ca69d8b6128" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -104,7 +104,6 @@ declare -x SHLVL="1" declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" -declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -112,7 +111,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="586" +declare -x SYSTEMD_EXEC_PID="574" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index e0403e5a..73c43f21 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,5 +1,5 @@ { - "token": "ghs_KNZd2MkyhVHwsLtG3CAffyECZelJkO1H57K9", + "token": "ghs_pesjRcqr2Z2nsGnKntN57JF2aNlKfk1bFQJt", "job": "dump-context", "ref": "refs/heads/main", "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", @@ -7,8 +7,8 @@ "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6795326981", - "run_number": "427", + "run_id": "6795352266", + "run_number": "429", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", - "before": "eb2a92d5d884e1d3cf14770dfae58fe2bc3f93d3", + "after": "71599959de9f1a0f1416ff722e8491ff11ff2d7f", + "before": "dbeb1d4a6a02e9377e43fb724b9db6121b25cd51", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/71599959de9f1a0f1416ff722e8491ff11ff2d7f" } }, "active_lock_reason": null, - "additions": 726, + "additions": 727, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:00:57Z", + "pushed_at": "2023-11-08T08:03:15Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,7 +210,7 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 46, + "commits": 50, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", "deletions": 158, @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:00:57Z", + "pushed_at": "2023-11-08T08:03:15Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", + "sha": "71599959de9f1a0f1416ff722e8491ff11ff2d7f", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "90b49dd5a724f7f239a7032294f092f7bc50fd6a", + "merge_commit_sha": "d702a372dc2a6b08aab01b6cc6ef7740ba7c2da6", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/71599959de9f1a0f1416ff722e8491ff11ff2d7f", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T08:00:58Z", + "updated_at": "2023-11-08T08:03:16Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:00:57Z", + "pushed_at": "2023-11-08T08:03:15Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -551,9 +551,9 @@ "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_16c5e250-900d-4388-93b1-75e924d4a72c", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_16c5e250-900d-4388-93b1-75e924d4a72c", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_16c5e250-900d-4388-93b1-75e924d4a72c", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_16c5e250-900d-4388-93b1-75e924d4a72c", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_16c5e250-900d-4388-93b1-75e924d4a72c" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_59cfac8f-4a64-459a-a497-bd6c3fcba281", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_59cfac8f-4a64-459a-a497-bd6c3fcba281", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_59cfac8f-4a64-459a-a497-bd6c3fcba281", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_59cfac8f-4a64-459a-a497-bd6c3fcba281", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_59cfac8f-4a64-459a-a497-bd6c3fcba281" } diff --git a/contexts/runner/pull_request_target_synchronize.json b/contexts/runner/pull_request_target_synchronize.json index 02369cc6..24d2410b 100644 --- a/contexts/runner/pull_request_target_synchronize.json +++ b/contexts/runner/pull_request_target_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 4", + "name": "GitHub Actions 39", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 66fb2db09ac177d9a53a1f65dd0b0810e7654c0a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:03:56 +0000 Subject: [PATCH 47/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index be2e91fd..372ee5d7 100644 --- a/README.md +++ b/README.md @@ -573,7 +573,7 @@ jobs: echo ${{ env.BRANCH_SCRIPT }} echo ${{ steps.script.outputs.branch }} - name: Add PATH - run: echo "$HOME\foo\bar" >> %GITHUB_PATH% + run: echo "%HOME%\foo\bar" >> %GITHUB_PATH% - name: Show PATH run: echo %PATH% From 2000f5781f82ef049f2e31b13bb58392b45507bb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:04:07 +0000 Subject: [PATCH 48/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 28 ++++++------ contexts/github/pull_request_synchronize.json | 44 +++++++++---------- contexts/runner/pull_request_synchronize.json | 2 +- 3 files changed, 37 insertions(+), 37 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index 0b66542f..3ebbec1d 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_51b59328-3ad6-4376-82e5-fc212d0c56a9" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_1954c30f-1f51-4c84-99bf-eeb799ce56da" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_51b59328-3ad6-4376-82e5-fc212d0c56a9" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_51b59328-3ad6-4376-82e5-fc212d0c56a9" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_1954c30f-1f51-4c84-99bf-eeb799ce56da" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_1954c30f-1f51-4c84-99bf-eeb799ce56da" declare -x GITHUB_REF="refs/pull/128/merge" declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6795327190" -declare -x GITHUB_RUN_NUMBER="428" +declare -x GITHUB_RUN_ID="6795352364" +declare -x GITHUB_RUN_NUMBER="430" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="cc22431fef265e3b830d406c6ecb2ed1bd4f7d2e" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_51b59328-3ad6-4376-82e5-fc212d0c56a9" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_51b59328-3ad6-4376-82e5-fc212d0c56a9" +declare -x GITHUB_SHA="b30c3e0678ffabbf00c7bc96b4114c6d684fa156" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_1954c30f-1f51-4c84-99bf-eeb799ce56da" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_1954c30f-1f51-4c84-99bf-eeb799ce56da" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" -declare -x GITHUB_WORKFLOW_SHA="cc22431fef265e3b830d406c6ecb2ed1bd4f7d2e" +declare -x GITHUB_WORKFLOW_SHA="b30c3e0678ffabbf00c7bc96b4114c6d684fa156" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="fa4f1645d39846ed85f66be9e4edea06" +declare -x INVOCATION_ID="2b177f2f57664f09a02c283d23a0aa65" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:18954" +declare -x JOURNAL_STREAM="8:19979" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 36" +declare -x RUNNER_NAME="GitHub Actions 25" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_e7625997-93f2-4dd5-abf1-1bd4bfae9635" +declare -x RUNNER_TRACKING_ID="github_651cafd0-c97d-4191-a0ab-b7a85484317f" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -110,7 +110,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="594" +declare -x SYSTEMD_EXEC_PID="593" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index 51573542..62d6131a 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_qDlMXz696R3d5C5nDf3piF2r899Jdt0202Kt", + "token": "ghs_Pkg160vTYV0vyGBtr21juFi14Cty353I3fDp", "job": "dump-context", "ref": "refs/pull/128/merge", - "sha": "cc22431fef265e3b830d406c6ecb2ed1bd4f7d2e", + "sha": "b30c3e0678ffabbf00c7bc96b4114c6d684fa156", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6795327190", - "run_number": "428", + "run_id": "6795352364", + "run_number": "430", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request", "event": { "action": "synchronize", - "after": "e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", - "before": "eb2a92d5d884e1d3cf14770dfae58fe2bc3f93d3", + "after": "71599959de9f1a0f1416ff722e8491ff11ff2d7f", + "before": "dbeb1d4a6a02e9377e43fb724b9db6121b25cd51", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/71599959de9f1a0f1416ff722e8491ff11ff2d7f" } }, "active_lock_reason": null, - "additions": 726, + "additions": 727, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:00:57Z", + "pushed_at": "2023-11-08T08:03:15Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,7 +210,7 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 46, + "commits": 50, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", "deletions": 158, @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:00:57Z", + "pushed_at": "2023-11-08T08:03:15Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", + "sha": "71599959de9f1a0f1416ff722e8491ff11ff2d7f", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "90b49dd5a724f7f239a7032294f092f7bc50fd6a", + "merge_commit_sha": "d702a372dc2a6b08aab01b6cc6ef7740ba7c2da6", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/e5397bea4ea55664c6fe0897b8dce5ae0ecf8b3e", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/71599959de9f1a0f1416ff722e8491ff11ff2d7f", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T08:00:58Z", + "updated_at": "2023-11-08T08:03:16Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:00:57Z", + "pushed_at": "2023-11-08T08:03:15Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", - "workflow_sha": "cc22431fef265e3b830d406c6ecb2ed1bd4f7d2e", + "workflow_sha": "b30c3e0678ffabbf00c7bc96b4114c6d684fa156", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_51b59328-3ad6-4376-82e5-fc212d0c56a9", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_51b59328-3ad6-4376-82e5-fc212d0c56a9", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_51b59328-3ad6-4376-82e5-fc212d0c56a9", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_51b59328-3ad6-4376-82e5-fc212d0c56a9", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_51b59328-3ad6-4376-82e5-fc212d0c56a9" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_1954c30f-1f51-4c84-99bf-eeb799ce56da", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_1954c30f-1f51-4c84-99bf-eeb799ce56da", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_1954c30f-1f51-4c84-99bf-eeb799ce56da", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_1954c30f-1f51-4c84-99bf-eeb799ce56da", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_1954c30f-1f51-4c84-99bf-eeb799ce56da" } diff --git a/contexts/runner/pull_request_synchronize.json b/contexts/runner/pull_request_synchronize.json index 988a668e..0f16a913 100644 --- a/contexts/runner/pull_request_synchronize.json +++ b/contexts/runner/pull_request_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 36", + "name": "GitHub Actions 25", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From ff9391dd491b898a7494af133a990cd3ad68e8f8 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 8 Nov 2023 17:05:10 +0900 Subject: [PATCH 49/52] ci: UserProfile --- .github/workflows/env_with_script.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/env_with_script.yaml b/.github/workflows/env_with_script.yaml index 1c32aa7f..7b0d5f77 100644 --- a/.github/workflows/env_with_script.yaml +++ b/.github/workflows/env_with_script.yaml @@ -103,6 +103,6 @@ jobs: echo ${{ env.BRANCH_SCRIPT }} echo ${{ steps.script.outputs.branch }} - name: Add PATH - run: echo "%HOME%\foo\bar" >> %GITHUB_PATH% + run: echo "%UserProfile%\foo\bar" >> %GITHUB_PATH% - name: Show PATH run: echo %PATH% From c3993779dfb3e7e864867b8b6d25ce806fb83daf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:05:41 +0000 Subject: [PATCH 50/52] [auto commit] update context (workflow=auto dump context, event=pull_request_target, action=synchronize) --- .../export/pull_request_target_synchronize.sh | 25 ++++++------ .../pull_request_target_synchronize.json | 40 +++++++++---------- .../pull_request_target_synchronize.json | 2 +- 3 files changed, 34 insertions(+), 33 deletions(-) diff --git a/contexts/export/pull_request_target_synchronize.sh b/contexts/export/pull_request_target_synchronize.sh index 3e06f451..57274c98 100644 --- a/contexts/export/pull_request_target_synchronize.sh +++ b/contexts/export/pull_request_target_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_59cfac8f-4a64-459a-a497-bd6c3fcba281" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_1a6b3ab6-2c0b-42de-9039-6dbc712ed414" declare -x GITHUB_EVENT_NAME="pull_request_target" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_59cfac8f-4a64-459a-a497-bd6c3fcba281" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_59cfac8f-4a64-459a-a497-bd6c3fcba281" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_1a6b3ab6-2c0b-42de-9039-6dbc712ed414" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_1a6b3ab6-2c0b-42de-9039-6dbc712ed414" declare -x GITHUB_REF="refs/heads/main" declare -x GITHUB_REF_NAME="main" declare -x GITHUB_REF_PROTECTED="false" @@ -49,12 +49,12 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6795352266" -declare -x GITHUB_RUN_NUMBER="429" +declare -x GITHUB_RUN_ID="6795374850" +declare -x GITHUB_RUN_NUMBER="431" declare -x GITHUB_SERVER_URL="https://github.com" declare -x GITHUB_SHA="147fa89e19dc55ea8e05da5b4bf2afb63206bf0b" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_59cfac8f-4a64-459a-a497-bd6c3fcba281" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_59cfac8f-4a64-459a-a497-bd6c3fcba281" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_1a6b3ab6-2c0b-42de-9039-6dbc712ed414" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_1a6b3ab6-2c0b-42de-9039-6dbc712ed414" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/heads/main" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="816cee0726a54ecf9585914aef0d2d8b" +declare -x INVOCATION_ID="a6605f5993b84fb398e16928f67bf16d" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:17080" +declare -x JOURNAL_STREAM="8:16973" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,12 +90,12 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 39" +declare -x RUNNER_NAME="GitHub Actions 5" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_1806d8a4-919e-4a2b-a6b7-7ca69d8b6128" +declare -x RUNNER_TRACKING_ID="github_71c68c77-f338-4c48-94a2-b633f18095a0" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" @@ -104,6 +104,7 @@ declare -x SHLVL="1" declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" +declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -111,7 +112,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="574" +declare -x SYSTEMD_EXEC_PID="572" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_target_synchronize.json b/contexts/github/pull_request_target_synchronize.json index 73c43f21..fbe70003 100644 --- a/contexts/github/pull_request_target_synchronize.json +++ b/contexts/github/pull_request_target_synchronize.json @@ -1,5 +1,5 @@ { - "token": "ghs_pesjRcqr2Z2nsGnKntN57JF2aNlKfk1bFQJt", + "token": "ghs_6RJa3mOUhstYBcMV7vxqXk7C61zk561TioSp", "job": "dump-context", "ref": "refs/heads/main", "sha": "147fa89e19dc55ea8e05da5b4bf2afb63206bf0b", @@ -7,8 +7,8 @@ "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6795352266", - "run_number": "429", + "run_id": "6795374850", + "run_number": "431", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request_target", "event": { "action": "synchronize", - "after": "71599959de9f1a0f1416ff722e8491ff11ff2d7f", - "before": "dbeb1d4a6a02e9377e43fb724b9db6121b25cd51", + "after": "ff9391dd491b898a7494af133a990cd3ad68e8f8", + "before": "2000f5781f82ef049f2e31b13bb58392b45507bb", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/71599959de9f1a0f1416ff722e8491ff11ff2d7f" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/ff9391dd491b898a7494af133a990cd3ad68e8f8" } }, "active_lock_reason": null, - "additions": 727, + "additions": 726, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:03:15Z", + "pushed_at": "2023-11-08T08:05:13Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,7 +210,7 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 50, + "commits": 54, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", "deletions": 158, @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:03:15Z", + "pushed_at": "2023-11-08T08:05:13Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "71599959de9f1a0f1416ff722e8491ff11ff2d7f", + "sha": "ff9391dd491b898a7494af133a990cd3ad68e8f8", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "d702a372dc2a6b08aab01b6cc6ef7740ba7c2da6", + "merge_commit_sha": "a54305f64007efe37963227100a14647cfb03bcb", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/71599959de9f1a0f1416ff722e8491ff11ff2d7f", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/ff9391dd491b898a7494af133a990cd3ad68e8f8", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T08:03:16Z", + "updated_at": "2023-11-08T08:05:15Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:03:15Z", + "pushed_at": "2023-11-08T08:05:13Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -551,9 +551,9 @@ "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_59cfac8f-4a64-459a-a497-bd6c3fcba281", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_59cfac8f-4a64-459a-a497-bd6c3fcba281", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_59cfac8f-4a64-459a-a497-bd6c3fcba281", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_59cfac8f-4a64-459a-a497-bd6c3fcba281", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_59cfac8f-4a64-459a-a497-bd6c3fcba281" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_1a6b3ab6-2c0b-42de-9039-6dbc712ed414", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_1a6b3ab6-2c0b-42de-9039-6dbc712ed414", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_1a6b3ab6-2c0b-42de-9039-6dbc712ed414", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_1a6b3ab6-2c0b-42de-9039-6dbc712ed414", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_1a6b3ab6-2c0b-42de-9039-6dbc712ed414" } diff --git a/contexts/runner/pull_request_target_synchronize.json b/contexts/runner/pull_request_target_synchronize.json index 24d2410b..d113350b 100644 --- a/contexts/runner/pull_request_target_synchronize.json +++ b/contexts/runner/pull_request_target_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 39", + "name": "GitHub Actions 5", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp", From 8e84df8e2c8aed8ba3049d35ce5417e21954410e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:05:59 +0000 Subject: [PATCH 51/52] [auto commit] Embedded code (workflow=auto doc) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 372ee5d7..47c60277 100644 --- a/README.md +++ b/README.md @@ -573,7 +573,7 @@ jobs: echo ${{ env.BRANCH_SCRIPT }} echo ${{ steps.script.outputs.branch }} - name: Add PATH - run: echo "%HOME%\foo\bar" >> %GITHUB_PATH% + run: echo "%UserProfile%\foo\bar" >> %GITHUB_PATH% - name: Show PATH run: echo %PATH% From c264a644efac5a4d889de1e3e83cd86345866dd0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:06:00 +0000 Subject: [PATCH 52/52] [auto commit] update context (workflow=auto dump context, event=pull_request, action=synchronize) --- contexts/export/pull_request_synchronize.sh | 30 +++++++------ contexts/github/pull_request_synchronize.json | 44 +++++++++---------- contexts/runner/pull_request_synchronize.json | 2 +- 3 files changed, 39 insertions(+), 37 deletions(-) diff --git a/contexts/export/pull_request_synchronize.sh b/contexts/export/pull_request_synchronize.sh index 3ebbec1d..5daa4cc8 100644 --- a/contexts/export/pull_request_synchronize.sh +++ b/contexts/export/pull_request_synchronize.sh @@ -31,14 +31,14 @@ declare -x GITHUB_ACTOR="guitarrapc" declare -x GITHUB_ACTOR_ID="3856350" declare -x GITHUB_API_URL="https://api.github.com" declare -x GITHUB_BASE_REF="main" -declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_1954c30f-1f51-4c84-99bf-eeb799ce56da" +declare -x GITHUB_ENV="/home/runner/work/_temp/_runner_file_commands/set_env_b7bbdacf-0bec-4aeb-9864-03ddb95ff501" declare -x GITHUB_EVENT_NAME="pull_request" declare -x GITHUB_EVENT_PATH="/home/runner/work/_temp/_github_workflow/event.json" declare -x GITHUB_GRAPHQL_URL="https://api.github.com/graphql" declare -x GITHUB_HEAD_REF="feature/env" declare -x GITHUB_JOB="dump-context" -declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_1954c30f-1f51-4c84-99bf-eeb799ce56da" -declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_1954c30f-1f51-4c84-99bf-eeb799ce56da" +declare -x GITHUB_OUTPUT="/home/runner/work/_temp/_runner_file_commands/set_output_b7bbdacf-0bec-4aeb-9864-03ddb95ff501" +declare -x GITHUB_PATH="/home/runner/work/_temp/_runner_file_commands/add_path_b7bbdacf-0bec-4aeb-9864-03ddb95ff501" declare -x GITHUB_REF="refs/pull/128/merge" declare -x GITHUB_REF_NAME="128/merge" declare -x GITHUB_REF_PROTECTED="false" @@ -49,16 +49,16 @@ declare -x GITHUB_REPOSITORY_OWNER="guitarrapc" declare -x GITHUB_REPOSITORY_OWNER_ID="3856350" declare -x GITHUB_RETENTION_DAYS="90" declare -x GITHUB_RUN_ATTEMPT="1" -declare -x GITHUB_RUN_ID="6795352364" -declare -x GITHUB_RUN_NUMBER="430" +declare -x GITHUB_RUN_ID="6795375166" +declare -x GITHUB_RUN_NUMBER="432" declare -x GITHUB_SERVER_URL="https://github.com" -declare -x GITHUB_SHA="b30c3e0678ffabbf00c7bc96b4114c6d684fa156" -declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_1954c30f-1f51-4c84-99bf-eeb799ce56da" -declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_1954c30f-1f51-4c84-99bf-eeb799ce56da" +declare -x GITHUB_SHA="5c45354e1d90b428e01d5a175c87e2f15561dc45" +declare -x GITHUB_STATE="/home/runner/work/_temp/_runner_file_commands/save_state_b7bbdacf-0bec-4aeb-9864-03ddb95ff501" +declare -x GITHUB_STEP_SUMMARY="/home/runner/work/_temp/_runner_file_commands/step_summary_b7bbdacf-0bec-4aeb-9864-03ddb95ff501" declare -x GITHUB_TRIGGERING_ACTOR="guitarrapc" declare -x GITHUB_WORKFLOW="auto dump context" declare -x GITHUB_WORKFLOW_REF="guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge" -declare -x GITHUB_WORKFLOW_SHA="b30c3e0678ffabbf00c7bc96b4114c6d684fa156" +declare -x GITHUB_WORKFLOW_SHA="5c45354e1d90b428e01d5a175c87e2f15561dc45" declare -x GITHUB_WORKSPACE="/home/runner/work/githubactions-lab/githubactions-lab" declare -x GOROOT_1_19_X64="/opt/hostedtoolcache/go/1.19.13/x64" declare -x GOROOT_1_20_X64="/opt/hostedtoolcache/go/1.20.10/x64" @@ -67,7 +67,7 @@ declare -x GRADLE_HOME="/usr/share/gradle-8.4" declare -x HOME="/home/runner" declare -x HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS="3650" declare -x HOMEBREW_NO_AUTO_UPDATE="1" -declare -x INVOCATION_ID="2b177f2f57664f09a02c283d23a0aa65" +declare -x INVOCATION_ID="085a470ec51749e59954c4a4593cb15f" declare -x ImageOS="ubuntu22" declare -x ImageVersion="20231030.2.0" declare -x JAVA_HOME="/usr/lib/jvm/temurin-11-jdk-amd64" @@ -75,7 +75,7 @@ declare -x JAVA_HOME_11_X64="/usr/lib/jvm/temurin-11-jdk-amd64" declare -x JAVA_HOME_17_X64="/usr/lib/jvm/temurin-17-jdk-amd64" declare -x JAVA_HOME_21_X64="/usr/lib/jvm/temurin-21-jdk-amd64" declare -x JAVA_HOME_8_X64="/usr/lib/jvm/temurin-8-jdk-amd64" -declare -x JOURNAL_STREAM="8:19979" +declare -x JOURNAL_STREAM="8:17256" declare -x LANG="C.UTF-8" declare -x LEIN_HOME="/usr/local/lib/lein" declare -x LEIN_JAR="/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar" @@ -90,19 +90,21 @@ declare -x POWERSHELL_DISTRIBUTION_CHANNEL="GitHub-Actions-ubuntu22" declare -x PWD="/home/runner/work/githubactions-lab/githubactions-lab" declare -x RUNNER_ARCH="X64" declare -x RUNNER_ENVIRONMENT="github-hosted" -declare -x RUNNER_NAME="GitHub Actions 25" +declare -x RUNNER_NAME="GitHub Actions 22" declare -x RUNNER_OS="Linux" declare -x RUNNER_PERFLOG="/home/runner/perflog" declare -x RUNNER_TEMP="/home/runner/work/_temp" declare -x RUNNER_TOOL_CACHE="/opt/hostedtoolcache" -declare -x RUNNER_TRACKING_ID="github_651cafd0-c97d-4191-a0ab-b7a85484317f" +declare -x RUNNER_TRACKING_ID="github_8e722783-2481-470c-b221-edb8af02f35d" declare -x RUNNER_USER="runner" declare -x RUNNER_WORKSPACE="/home/runner/work/githubactions-lab" declare -x SELENIUM_JAR_PATH="/usr/share/java/selenium-server.jar" declare -x SGX_AESM_ADDR="1" declare -x SHLVL="1" +declare -x STATS_BLT="true" declare -x STATS_EXT="true" declare -x STATS_EXTP="https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data" +declare -x STATS_NM="true" declare -x STATS_RDCL="true" declare -x STATS_TIS="mining" declare -x STATS_TRP="true" @@ -110,7 +112,7 @@ declare -x STATS_UE="true" declare -x STATS_V3PS="true" declare -x STATS_VMD="true" declare -x SWIFT_PATH="/usr/share/swift/usr/bin" -declare -x SYSTEMD_EXEC_PID="593" +declare -x SYSTEMD_EXEC_PID="578" declare -x USER="runner" declare -x VCPKG_INSTALLATION_ROOT="/usr/local/share/vcpkg" declare -x XDG_CONFIG_HOME="/home/runner/.config" diff --git a/contexts/github/pull_request_synchronize.json b/contexts/github/pull_request_synchronize.json index 62d6131a..a539353b 100644 --- a/contexts/github/pull_request_synchronize.json +++ b/contexts/github/pull_request_synchronize.json @@ -1,14 +1,14 @@ { - "token": "ghs_Pkg160vTYV0vyGBtr21juFi14Cty353I3fDp", + "token": "ghs_nwVj7iOVTOI4X8Jj1DLZ2OaMUnN6QR19aVAq", "job": "dump-context", "ref": "refs/pull/128/merge", - "sha": "b30c3e0678ffabbf00c7bc96b4114c6d684fa156", + "sha": "5c45354e1d90b428e01d5a175c87e2f15561dc45", "repository": "guitarrapc/githubactions-lab", "repository_owner": "guitarrapc", "repository_owner_id": "3856350", "repositoryUrl": "git://github.com/guitarrapc/githubactions-lab.git", - "run_id": "6795352364", - "run_number": "430", + "run_id": "6795375166", + "run_number": "432", "retention_days": "90", "run_attempt": "1", "artifact_cache_size_limit": "10", @@ -25,8 +25,8 @@ "event_name": "pull_request", "event": { "action": "synchronize", - "after": "71599959de9f1a0f1416ff722e8491ff11ff2d7f", - "before": "dbeb1d4a6a02e9377e43fb724b9db6121b25cd51", + "after": "ff9391dd491b898a7494af133a990cd3ad68e8f8", + "before": "2000f5781f82ef049f2e31b13bb58392b45507bb", "number": 128, "pull_request": { "_links": { @@ -52,11 +52,11 @@ "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128" }, "statuses": { - "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/71599959de9f1a0f1416ff722e8491ff11ff2d7f" + "href": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/ff9391dd491b898a7494af133a990cd3ad68e8f8" } }, "active_lock_reason": null, - "additions": 727, + "additions": 726, "assignee": null, "assignees": [], "author_association": "OWNER", @@ -157,7 +157,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:03:15Z", + "pushed_at": "2023-11-08T08:05:13Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -210,7 +210,7 @@ "closed_at": null, "comments": 0, "comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/issues/128/comments", - "commits": 50, + "commits": 54, "commits_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/commits", "created_at": "2023-11-08T03:58:36Z", "deletions": 158, @@ -312,7 +312,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:03:15Z", + "pushed_at": "2023-11-08T08:05:13Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "squash_merge_commit_message": "COMMIT_MESSAGES", @@ -338,7 +338,7 @@ "watchers_count": 32, "web_commit_signoff_required": false }, - "sha": "71599959de9f1a0f1416ff722e8491ff11ff2d7f", + "sha": "ff9391dd491b898a7494af133a990cd3ad68e8f8", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", "events_url": "https://api.github.com/users/guitarrapc/events{/privacy}", @@ -366,7 +366,7 @@ "labels": [], "locked": false, "maintainer_can_modify": false, - "merge_commit_sha": "d702a372dc2a6b08aab01b6cc6ef7740ba7c2da6", + "merge_commit_sha": "a54305f64007efe37963227100a14647cfb03bcb", "mergeable": null, "mergeable_state": "unknown", "merged": false, @@ -383,9 +383,9 @@ "review_comments": 5, "review_comments_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128/comments", "state": "open", - "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/71599959de9f1a0f1416ff722e8491ff11ff2d7f", + "statuses_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/statuses/ff9391dd491b898a7494af133a990cd3ad68e8f8", "title": "ci: add env/output for windows", - "updated_at": "2023-11-08T08:03:16Z", + "updated_at": "2023-11-08T08:05:15Z", "url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls/128", "user": { "avatar_url": "https://avatars.githubusercontent.com/u/3856350?v=4", @@ -493,7 +493,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/pulls{/number}", - "pushed_at": "2023-11-08T08:03:15Z", + "pushed_at": "2023-11-08T08:05:13Z", "releases_url": "https://api.github.com/repos/guitarrapc/githubactions-lab/releases{/id}", "size": 1304, "ssh_url": "git@github.com:guitarrapc/githubactions-lab.git", @@ -545,15 +545,15 @@ "ref_type": "branch", "secret_source": "Actions", "workflow_ref": "guitarrapc/githubactions-lab/.github/workflows/auto_dump_context.yaml@refs/pull/128/merge", - "workflow_sha": "b30c3e0678ffabbf00c7bc96b4114c6d684fa156", + "workflow_sha": "5c45354e1d90b428e01d5a175c87e2f15561dc45", "workspace": "/home/runner/work/githubactions-lab/githubactions-lab", "action": "__run_2", "event_path": "/home/runner/work/_temp/_github_workflow/event.json", "action_repository": "", "action_ref": "", - "path": "/home/runner/work/_temp/_runner_file_commands/add_path_1954c30f-1f51-4c84-99bf-eeb799ce56da", - "env": "/home/runner/work/_temp/_runner_file_commands/set_env_1954c30f-1f51-4c84-99bf-eeb799ce56da", - "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_1954c30f-1f51-4c84-99bf-eeb799ce56da", - "state": "/home/runner/work/_temp/_runner_file_commands/save_state_1954c30f-1f51-4c84-99bf-eeb799ce56da", - "output": "/home/runner/work/_temp/_runner_file_commands/set_output_1954c30f-1f51-4c84-99bf-eeb799ce56da" + "path": "/home/runner/work/_temp/_runner_file_commands/add_path_b7bbdacf-0bec-4aeb-9864-03ddb95ff501", + "env": "/home/runner/work/_temp/_runner_file_commands/set_env_b7bbdacf-0bec-4aeb-9864-03ddb95ff501", + "step_summary": "/home/runner/work/_temp/_runner_file_commands/step_summary_b7bbdacf-0bec-4aeb-9864-03ddb95ff501", + "state": "/home/runner/work/_temp/_runner_file_commands/save_state_b7bbdacf-0bec-4aeb-9864-03ddb95ff501", + "output": "/home/runner/work/_temp/_runner_file_commands/set_output_b7bbdacf-0bec-4aeb-9864-03ddb95ff501" } diff --git a/contexts/runner/pull_request_synchronize.json b/contexts/runner/pull_request_synchronize.json index 0f16a913..029d266c 100644 --- a/contexts/runner/pull_request_synchronize.json +++ b/contexts/runner/pull_request_synchronize.json @@ -1,7 +1,7 @@ { "os": "Linux", "arch": "X64", - "name": "GitHub Actions 25", + "name": "GitHub Actions 22", "environment": "github-hosted", "tool_cache": "/opt/hostedtoolcache", "temp": "/home/runner/work/_temp",