About 854,000 results
Open links in new tab
  1. REST API endpoints for Git references - GitHub Docs

    These endpoints allow you to read and write references to your Git database on GitHub. Returns an array of references from your Git database that match the supplied name. The :ref in the …

  2. git - How do I get the "sha" parameter from GitHub API without ...

    Oct 5, 2014 · How to find a Github file 's SHA blob. You could leverage the <rev>:<path> extended SHA-1 syntax to retrieve some meta data about the Blob from its parent Tree. For …

  3. The Many SHAs of a GitHub Pull Request - Ken Muse

    Jun 30, 2023 · If you need to query the remote repository instead, replace ${{ github.sha }} with refs/remotes/pull/${{ github.ref_name }}. If you prefer PowerShell, you can use the following to …

  4. “get a referenceAPI does not accept SHAs as documented - GitHub

    Can be a commit SHA, branch name (heads/BRANCH_NAME), or tag name (tags/TAG_NAME). For more information, see "Git References" in the Git documentation.

  5. Accessing contextual information about workflow runs - GitHub

    Index syntax: github['sha'] Property dereference syntax: github.sha; In order to use property dereference syntax, the property name must start with a letter or _ and contain only …

  6. GET pull request merge commit sha from pull request number using github api

    Mar 12, 2014 · I'm trying to use the github api (via githubot https://github.com/iangreenleaf/githubot) to GET a pull request merge commit sha from the pull …

  7. Get SHA from REF - GitHub Marketplace

    ref-sha is a GitHub Action that provides an output sha with shortened commit SHA by ref. Usage You can access the shortened value with ${{ steps.get-sha.outputs.sha }} (PS: get-sha in this …

  8. github api get SHA of master - Stack Overflow

    Dec 18, 2012 · Try fetching the references: https://api.github.com/repos/ameyer/Arduino-L6470/git/refs. And then you can: https://api.github.com/repos/ameyer/Arduino …

  9. Finding SHA or ref of branch for [push] event after a pull ... - GitHub

    Apr 26, 2020 · I’m trying to make an action workflow that operates on the git diff from the branch point. When I have a pull-request event, I can also use github.head_ref to get the source …

  10. REST API endpoints for Git references - GitHub Docs

    These endpoints allow you to read and write references to your Git database on GitHub. Returns an array of references from your Git database that match the supplied name. The :ref in the …