[all-commits] [llvm/llvm-project] 099ce2: [Github] Fetch before files changed action on push...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Oct 23 22:10:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 099ce256633fc1f443c188b9c3a8a22d8632dcf9
      https://github.com/llvm/llvm-project/commit/099ce256633fc1f443c188b9c3a8a22d8632dcf9
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-10-23 (Mon, 23 Oct 2023)

  Changed paths:
    M .github/workflows/docs.yml

  Log Message:
  -----------
  [Github] Fetch before files changed action on push in docs action

My previous commit 397f1ce9efb4eea1ee10fe4833f733b8c7abd878 switched up
the docs github action to use the GH API for pull requests. However,
this breaks the action when pushing to a branch as the Github API can't
provide diffs for commits. This patch fixes that by creating a local
checkout beforehand on push events for determining the changed files.




More information about the All-commits mailing list