<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Madanswer Technologies Interview Questions Data|Agile|DevOPs|Python - Recent questions and answers in GitHub</title>
<link>https://madanswer.com/qa/github</link>
<description>Powered by Question2Answer</description>
<item>
<title>Answered: How is Git different from SVN?</title>
<link>https://madanswer.com/76862/how-is-git-different-from-svn?show=76863#a76863</link>
<description>
&lt;p class=&quot;p2&quot; style=&quot;box-sizing: inherit; border: 0px; margin: 0px 0px 1.6em; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(52, 52, 52); font-family: Battambang, display; text-align: justify;&quot;&gt;&lt;span style=&quot;box-sizing:inherit&quot; class=&quot;s1&quot;&gt;The differences between Git and SVN are one of the notable entries among&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;box-sizing:inherit&quot; class=&quot;s2&quot;&gt;the best Git interview questions&lt;/span&gt;&lt;span style=&quot;box-sizing:inherit&quot; class=&quot;s1&quot;&gt;. First of all, Git does not have adequate functionality for managing excessively large files or frequently fluctuating binary files. On the other hand, SVN can manage multiple projects in the same repository.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p2&quot; style=&quot;box-sizing: inherit; border: 0px; margin: 0px 0px 1.6em; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(52, 52, 52); font-family: Battambang, display; text-align: justify;&quot;&gt;&lt;span style=&quot;box-sizing:inherit&quot; class=&quot;s1&quot;&gt;The second point of difference is in the fact that Git lacks support for commits across multiple branches or tags. On the contrary, SVN or Subversion supports the creation of folders irrespective of the location in the repository layout. Modifications in Gits are impossible. However, Subversion provides flexibility to committers for treating a tag as a branch and creating multiple revisions in a tag root. However, the distributed Git is better than the centralized SVN.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76862/how-is-git-different-from-svn?show=76863#a76863</guid>
<pubDate>Tue, 22 Aug 2023 20:54:14 +0000</pubDate>
</item>
<item>
<title>Answered: What is a bare repository?</title>
<link>https://madanswer.com/76860/what-is-a-bare-repository?show=76861#a76861</link>
<description>
&lt;p&gt;&lt;span style=&quot;box-sizing:inherit; color:#343434; font-family:Battambang,display; text-align:justify&quot; class=&quot;s1&quot;&gt;Candidates can also come across this entry among&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;box-sizing:inherit; color:#343434; font-family:Battambang,display; text-align:justify&quot; class=&quot;s2&quot;&gt;top Git interview questions&lt;/span&gt;&lt;span style=&quot;box-sizing:inherit; color:#343434; font-family:Battambang,display; text-align:justify&quot; class=&quot;s1&quot;&gt;&amp;nbsp;as a follow-up question. A bare repository contains information regarding version control. The bare repository does not contain any working files or the special.git sub-directory. On the contrary, the bare repository contains all information of the .git subdirectory in the main directory directly. The working directory contains the working tree, i.e., verified copies of project files and .git subdirectory with all Git related revision history for your repository.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76860/what-is-a-bare-repository?show=76861#a76861</guid>
<pubDate>Tue, 22 Aug 2023 20:53:32 +0000</pubDate>
</item>
<item>
<title>Answered: Explain Github Workflow?</title>
<link>https://madanswer.com/76858/explain-github-workflow?show=76859#a76859</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 25px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word; line-height: 1.8em; color: rgb(65, 65, 65); font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;Git provides three key areas that are uniquely designed, to give developers lots of control over workflow:&lt;/p&gt;&lt;ul style=&quot;background-attachment:initial; background-clip:initial; background-image:initial; background-origin:initial; background-position:initial; background-repeat:initial; background-size:initial; border:0px; box-sizing:border-box; color:#414141; font-family:Roboto,&amp;quot;Helvetica Neue&amp;quot;,Helvetica,Arial,sans-serif; margin:0px 0px 25px; outline:0px; overflow-wrap:break-word; padding-left:0px; padding-right:0px; vertical-align:baseline&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;A working directory, which contains all the current states of files. Numerous developers can access the directory when they are logged in, so collaboration is extremely easy.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;Staging area, which indexes everything for the next commit, and any files that have been added or edited since the previous save.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;Git repository is a dedicated space where new commits are added. A Git repository maintains all the metadata, the files, and a dedicated database that tracks versions of the project.&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 25px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word; line-height: 1.8em; color: rgb(65, 65, 65); font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;With proper importance given to speed, data integrity, and excellent support for distributed, non-linear workflows, GitHub provides excellent standards for remote digital teams. In addition, Git is convenient for working offline or without a VPN (a virtual private network), making it easy for the developers to work on the move and stay productive at will. For small &amp;amp; medium enterprises that are involved in building sites rapidly and prototypes for their customers, GitHub is the most efficient, safe, and seamless way to get projects reviewed, approved, and signed off or on. GitHub provides the most cost-effective module in any business.&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76858/explain-github-workflow?show=76859#a76859</guid>
<pubDate>Tue, 22 Aug 2023 20:51:21 +0000</pubDate>
</item>
<item>
<title>Answered: What Is a Staging Environment?</title>
<link>https://madanswer.com/76856/what-is-a-staging-environment?show=76857#a76857</link>
<description>
&lt;p&gt;&lt;span style=&quot;color:#414141; font-family:Roboto,&amp;quot;Helvetica Neue&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;This is a process through which, we request Git, to put files into a commit? This is where the staging environment or index comes in handy. When we make changes to the repo, Git notices that a file has changed but will not do anything with it (like adding it in a commit). To add a file to a commit, we need to add it to the staging environment. To do this, we can use the Git add command. Once we have used the Git, add the command to add all the files we want to the staging environment, we can then request Git to package them into a commit using the Git commit command.&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76856/what-is-a-staging-environment?show=76857#a76857</guid>
<pubDate>Tue, 22 Aug 2023 20:50:29 +0000</pubDate>
</item>
<item>
<title>Answered: How To Upload Files To Github?</title>
<link>https://madanswer.com/76854/how-to-upload-files-to-github?show=76855#a76855</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 25px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word; line-height: 1.8em; color: rgb(65, 65, 65); font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;Following are the step required for uploading files:&lt;/p&gt;&lt;ul style=&quot;background-attachment:initial; background-clip:initial; background-image:initial; background-origin:initial; background-position:initial; background-repeat:initial; background-size:initial; border:0px; box-sizing:border-box; color:#414141; font-family:Roboto,&amp;quot;Helvetica Neue&amp;quot;,Helvetica,Arial,sans-serif; margin:0px 0px 25px; outline:0px; overflow-wrap:break-word; padding-left:0px; padding-right:0px; vertical-align:baseline&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;Navigate to the main page of the GitHub repository.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;Under your repository name, click Upload files.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;Drag and drop the file or folder you would like to upload to your repository onto the file tree.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;At the bottom of the page, type a short, meaningful commit message that describes the change you made to the file.&lt;/li&gt;&lt;/ul&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76854/how-to-upload-files-to-github?show=76855#a76855</guid>
<pubDate>Tue, 22 Aug 2023 20:49:31 +0000</pubDate>
</item>
<item>
<title>Answered: What is origin in Git?</title>
<link>https://madanswer.com/76848/what-is-origin-in-git?show=76849#a76849</link>
<description>
&lt;p&gt;&lt;span style=&quot;color:#414141; font-family:Roboto,&amp;quot;Helvetica Neue&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;Origin refers to the remote repository that a project was originally cloned from and is used instead of the original repository&amp;rsquo;s URL. This allows for easier referencing.&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76848/what-is-origin-in-git?show=76849#a76849</guid>
<pubDate>Tue, 22 Aug 2023 04:12:57 +0000</pubDate>
</item>
<item>
<title>Answered: What is cherry-pick in Git?</title>
<link>https://madanswer.com/76846/what-is-cherry-pick-in-git?show=76847#a76847</link>
<description>Git cherry-pick is a command that allows the picking of arbitrary Git commits by reference and adding them to the HEAD. Cherry-picking is the process of picking a commit from one branch and applying it to another. It helps in undoing changes.</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76846/what-is-cherry-pick-in-git?show=76847#a76847</guid>
<pubDate>Tue, 22 Aug 2023 04:12:07 +0000</pubDate>
</item>
<item>
<title>Answered: What are the advantages of Git over SVN?</title>
<link>https://madanswer.com/76844/what-are-the-advantages-of-git-over-svn?show=76845#a76845</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 25px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word; line-height: 1.8em; color: rgb(65, 65, 65); font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;strong style=&quot;background:transparent; border:0px; box-sizing:border-box; margin:0px; outline:0px; overflow-wrap:break-word; padding:0px; vertical-align:baseline&quot;&gt;What are the advantages of Git over SVN?&lt;/strong&gt;&lt;/p&gt;&lt;figure class=&quot;wp-block-image size-full&quot; style=&quot;margin: 0px; box-sizing: border-box; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background-color: rgb(255, 255, 255); overflow-wrap: break-word; display: block; color: rgb(65, 65, 65); font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; text-align: start;&quot;&gt;&lt;img src=&quot;https://www.devopsschool.com/blog/wp-content/uploads/2022/02/Git-vs-SVN-02-800x270-1.png&quot; alt=&quot;&quot; srcset=&quot;https://www.devopsschool.com/blog/wp-content/uploads/2022/02/Git-vs-SVN-02-800x270-1.png 800w, https://www.devopsschool.com/blog/wp-content/uploads/2022/02/Git-vs-SVN-02-800x270-1-300x101.png 300w, https://www.devopsschool.com/blog/wp-content/uploads/2022/02/Git-vs-SVN-02-800x270-1-768x259.png 768w&quot; style=&quot;backface-visibility:hidden; background:transparent; border:0px; box-sizing:border-box; display:block; height:auto; margin:0px; max-width:100%; opacity:0.85; outline:0px; overflow-wrap:break-word; padding:0px; transition:all 200ms ease-in-out 0s; vertical-align:bottom; width:800px&quot; class=&quot;wp-image-27294&quot;&gt;&lt;/figure&gt;&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 25px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word; line-height: 1.8em; color: rgb(65, 65, 65); font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;Since Git is an open source version control system it lets us run multiple versions of our project so that it shows the changes that are made to the code over time and if needed we can keep track of the changes that we have made. This means that a large number of developers can make their own changes and upload those changes so that the changes can be attributed to the particular developers.&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76844/what-are-the-advantages-of-git-over-svn?show=76845#a76845</guid>
<pubDate>Tue, 22 Aug 2023 04:11:25 +0000</pubDate>
</item>
<item>
<title>Answered: What language is used in GIT?</title>
<link>https://madanswer.com/76842/what-language-is-used-in-git?show=76843#a76843</link>
<description>
&lt;p&gt;&lt;span style=&quot;color:#414141; font-family:Roboto,&amp;quot;Helvetica Neue&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;C is the programming language that is used for creating Git which ensures that the overheads are reduced.&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76842/what-language-is-used-in-git?show=76843#a76843</guid>
<pubDate>Tue, 22 Aug 2023 04:10:33 +0000</pubDate>
</item>
<item>
<title>Answered: What is gist programming?</title>
<link>https://madanswer.com/76840/what-is-gist-programming?show=76841#a76841</link>
<description>GitHub provides a hosting service that facilitates a web-based Git repository. It includes all the functionality of Git with additional features added in. The gist is an additional attribute added to GitHub, which facilitates the sharing of code snippets, notes, to do lists, and more. We can save our Gists as secret or public in the repository.</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76840/what-is-gist-programming?show=76841#a76841</guid>
<pubDate>Tue, 22 Aug 2023 04:09:53 +0000</pubDate>
</item>
<item>
<title>Answered: Is it possible in Git to merge a branch into the master? How can you find the same?</title>
<link>https://madanswer.com/76838/is-it-possible-in-git-to-merge-a-branch-into-the-master-how-can-you-find-the-same?show=76839#a76839</link>
<description>Yes, it is possible and the users can easily keep the pace up with the same anytime. The users can directly check the list under the branch section to know more about this.</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76838/is-it-possible-in-git-to-merge-a-branch-into-the-master-how-can-you-find-the-same?show=76839#a76839</guid>
<pubDate>Tue, 22 Aug 2023 04:07:46 +0000</pubDate>
</item>
<item>
<title>Answered: How it is possible for a developer to simply update the remote references related to the different objects?</title>
<link>https://madanswer.com/76836/how-possible-developer-simply-update-remote-references-related-different-objects?show=76837#a76837</link>
<description>This is possible through the Git PUSH. In fact, it is actually the prime function of the same.</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76836/how-possible-developer-simply-update-remote-references-related-different-objects?show=76837#a76837</guid>
<pubDate>Tue, 22 Aug 2023 04:07:16 +0000</pubDate>
</item>
<item>
<title>Answered: Can We Change Our Github Username?</title>
<link>https://madanswer.com/76834/can-we-change-our-github-username?show=76835#a76835</link>
<description>We can change our GitHub account name at any time. For this, we need to click the profile picture &amp;gt; Settings &amp;gt; Account Settings &amp;gt; Change Username. Links to the repositories will redirect to the new URLs, but they should be updated on all other sites because someone who chooses the abandoned username can override the links.</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76834/can-we-change-our-github-username?show=76835#a76835</guid>
<pubDate>Tue, 22 Aug 2023 04:06:42 +0000</pubDate>
</item>
<item>
<title>Answered: What Is A Branch On Github?</title>
<link>https://madanswer.com/76832/what-is-a-branch-on-github?show=76833#a76833</link>
<description>
&lt;figure class=&quot;wp-block-image size-full&quot; style=&quot;margin: 0px; box-sizing: border-box; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background-color: rgb(255, 255, 255); overflow-wrap: break-word; display: block; color: rgb(65, 65, 65); font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; text-align: start;&quot;&gt;&lt;img src=&quot;https://www.devopsschool.com/blog/wp-content/uploads/2022/02/branch-in-git-hub.png&quot; alt=&quot;&quot; srcset=&quot;https://www.devopsschool.com/blog/wp-content/uploads/2022/02/branch-in-git-hub.png 313w, https://www.devopsschool.com/blog/wp-content/uploads/2022/02/branch-in-git-hub-300x154.png 300w&quot; style=&quot;backface-visibility:hidden; background:transparent; border:0px; box-sizing:border-box; display:block; height:auto; margin:0px; max-width:100%; opacity:0.85; outline:0px; overflow-wrap:break-word; padding:0px; transition:all 200ms ease-in-out 0s; vertical-align:bottom; width:313px&quot; class=&quot;wp-image-27293&quot;&gt;&lt;/figure&gt;&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 25px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word; line-height: 1.8em; color: rgb(65, 65, 65); font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;strong style=&quot;background:transparent; border:0px; box-sizing:border-box; margin:0px; outline:0px; overflow-wrap:break-word; padding:0px; vertical-align:baseline&quot;&gt;&amp;nbsp;&lt;/strong&gt;Branch in Git means a lightweight movable pointer to one of these commits. The default branch name in Git is the master. As we initially make commits, we are given a master branch that points to the last commit being made. Every time we commit, it moves forward automatically.&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76832/what-is-a-branch-on-github?show=76833#a76833</guid>
<pubDate>Tue, 22 Aug 2023 04:05:49 +0000</pubDate>
</item>
<item>
<title>Answered: What Is A Github Fork?</title>
<link>https://madanswer.com/76830/what-is-a-github-fork?show=76831#a76831</link>
<description>
&lt;p&gt;&lt;span style=&quot;color:#414141; font-family:Roboto,&amp;quot;Helvetica Neue&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;Fork is a copy of a repository. Forking a repository allows us to freely experiment with the changes without affecting the original project. Most commonly, forks are used to propose changes to someone else&amp;rsquo;s project or to use someone else&amp;rsquo;s project as a starting point of our own idea.&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76830/what-is-a-github-fork?show=76831#a76831</guid>
<pubDate>Tue, 22 Aug 2023 04:04:18 +0000</pubDate>
</item>
<item>
<title>Answered: How Can We Create A Branch In Github?</title>
<link>https://madanswer.com/76828/how-can-we-create-a-branch-in-github?show=76829#a76829</link>
<description>GitHub has a simple UI for creating branches. Once opened the branch drop-down and it prompts “Find or create a branch.” We need to Type the name of your new branch, then click the “create” button that appears. For retrieving the new branch from GitHub, we can use the standard Git fetch command.</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76828/how-can-we-create-a-branch-in-github?show=76829#a76829</guid>
<pubDate>Tue, 22 Aug 2023 04:03:39 +0000</pubDate>
</item>
<item>
<title>Answered: How To Use Github?</title>
<link>https://madanswer.com/76826/how-to-use-github?show=76827#a76827</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 25px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word; line-height: 1.8em; color: rgb(65, 65, 65); font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;The use of GitHub can be explained in the following steps:&lt;/p&gt;&lt;ul style=&quot;background-attachment:initial; background-clip:initial; background-image:initial; background-origin:initial; background-position:initial; background-repeat:initial; background-size:initial; border:0px; box-sizing:border-box; color:#414141; font-family:Roboto,&amp;quot;Helvetica Neue&amp;quot;,Helvetica,Arial,sans-serif; margin:0px 0px 25px; outline:0px; overflow-wrap:break-word; padding-left:0px; padding-right:0px; vertical-align:baseline&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;Install git and create a GitHub account.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;Create a local git repository.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;Add a new file to the repo.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;Add a file to the staging environment.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;Create a commit.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin: 0px 0px 10px; padding: 0px 0px 0px 18px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent; overflow-wrap: break-word; list-style: none; position: relative;&quot;&gt;Create a new branch.&lt;/li&gt;&lt;/ul&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76826/how-to-use-github?show=76827#a76827</guid>
<pubDate>Tue, 22 Aug 2023 04:03:01 +0000</pubDate>
</item>
<item>
<title>Answered: What Is Repo?</title>
<link>https://madanswer.com/76824/what-is-repo?show=76825#a76825</link>
<description>GitHub users shorten this to “repo.” It can be local to a folder on the computer, or it can be a storage space on GitHub or another online host. We can keep code files, text files, image files; our name it, inside a repository.</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76824/what-is-repo?show=76825#a76825</guid>
<pubDate>Tue, 22 Aug 2023 04:02:25 +0000</pubDate>
</item>
<item>
<title>Answered: What Is Github Handle?</title>
<link>https://madanswer.com/76822/what-is-github-handle?show=76823#a76823</link>
<description>
&lt;p&gt;&lt;span style=&quot;color:#414141; font-family:Roboto,&amp;quot;Helvetica Neue&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;GitHub handle is the username, which is displayed, on the top right corner in GitHub. This is the one we use to log in to GitHub when we enter the site and commit to HTTPS and the one that appears in the URLs of our GitHub repositories.&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76822/what-is-github-handle?show=76823#a76823</guid>
<pubDate>Tue, 22 Aug 2023 04:01:29 +0000</pubDate>
</item>
<item>
<title>Answered: Is  Github Open Source Software?</title>
<link>https://madanswer.com/76820/is-github-open-source-software?show=76821#a76821</link>
<description>
&lt;p&gt;&lt;span style=&quot;color:#414141; font-family:Roboto,&amp;quot;Helvetica Neue&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;GitHub is not open-source software because they have a commercial offer based known as &amp;ldquo;GitHub for Enterprise.&amp;rdquo; Nevertheless, anyone can apply their ideas just like open-source software on GitHub look-alike, known as GitLab which is a ruby application with its source code here.&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/76820/is-github-open-source-software?show=76821#a76821</guid>
<pubDate>Tue, 22 Aug 2023 04:00:36 +0000</pubDate>
</item>
<item>
<title>Answered: What is project_card webhook trigger in github ?</title>
<link>https://madanswer.com/75693/what-is-project_card-webhook-trigger-in-github?show=75694#a75694</link>
<description>
&lt;h2 id=&quot;project_card&quot; tabindex=&quot;-1&quot; style=&quot;box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-weight: var(--base-text-weight-semibold,600); line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid var(--color-border-muted); padding-top: 1rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;a class=&quot;heading-link&quot; rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#project_card&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: unset; text-decoration-line: none;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: inherit; padding: 0px 0.2em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;project_card&lt;/code&gt;&lt;/a&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; border-spacing:0px; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; font-size:14.4px; line-height:1.5; margin-bottom:16px; margin-top:0px; max-width:100%; overflow:auto; position:relative; table-layout:auto; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border:none; box-sizing:border-box&quot;&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem 0.75rem 0px; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Webhook event payload&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Activity types&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_SHA&lt;/code&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_REF&lt;/code&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border-top:1px solid var(--color-border-muted); box-sizing:border-box&quot;&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem 0.75rem 0px; vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#project_card&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%; margin-bottom: 0px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;project_card&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;created&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;moved&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;converted&lt;/code&gt;&amp;nbsp;to an issue&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;edited&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;deleted&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Last commit on default branch&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Default branch&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600)&quot;&gt;Note&lt;/span&gt;: More than one activity type triggers this event. For information about each activity type, see &quot;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#project_card&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;Webhook events and payloads&lt;/a&gt;.&quot;&lt;/p&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600); margin-bottom:0px&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;This event will only trigger a workflow run if the workflow file is on the default branch.&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600); margin-bottom:0px&quot;&gt;Note&lt;/span&gt;: This event only occurs for projects owned by the workflow&#039;s repository, not for organization-owned or user-owned projects or for projects owned by another repository.&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600); margin-bottom:0px&quot;&gt;Note&lt;/span&gt;: This event only occurs for projects (classic).&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px;&quot;&gt;Runs your workflow when a card on a project board is created or modified. For activity related to project boards or columns in a project board&lt;/p&gt;&lt;/div&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75693/what-is-project_card-webhook-trigger-in-github?show=75694#a75694</guid>
<pubDate>Thu, 03 Aug 2023 02:34:57 +0000</pubDate>
</item>
<item>
<title>Answered: Explain about the project webhook trigger in Github actions?</title>
<link>https://madanswer.com/75691/explain-about-the-project-webhook-trigger-in-github-actions?show=75692#a75692</link>
<description>
&lt;h2 id=&quot;project&quot; tabindex=&quot;-1&quot; style=&quot;box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-weight: var(--base-text-weight-semibold,600); line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid var(--color-border-muted); padding-top: 1rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;a class=&quot;heading-link&quot; rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#project&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: unset; text-decoration-line: none;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: inherit; padding: 0px 0.2em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;project&lt;/code&gt;&lt;/a&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; border-spacing:0px; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; font-size:14.4px; line-height:1.5; margin-bottom:16px; margin-top:0px; max-width:100%; overflow:auto; position:relative; table-layout:auto; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border:none; box-sizing:border-box&quot;&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem 0.75rem 0px; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Webhook event payload&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Activity types&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_SHA&lt;/code&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_REF&lt;/code&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border-top:1px solid var(--color-border-muted); box-sizing:border-box&quot;&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem 0.75rem 0px; vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#project&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%; margin-bottom: 0px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;project&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;created&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;closed&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;reopened&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;edited&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;deleted&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Last commit on default branch&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Default branch&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600)&quot;&gt;Note&lt;/span&gt;: More than one activity type triggers this event. The&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 11.9px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;edited&lt;/code&gt;&amp;nbsp;activity type refers to when a project board, not a column or card on the project board, is edited. For information about each activity type.&lt;/p&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600); margin-bottom:0px&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;This event will only trigger a workflow run if the workflow file is on the default branch.&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600); margin-bottom:0px&quot;&gt;Note&lt;/span&gt;: This event only occurs for projects owned by the workflow&#039;s repository, not for organization-owned or user-owned projects or for projects owned by another repository.&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600); margin-bottom:0px&quot;&gt;Note&lt;/span&gt;: This event only occurs for projects (classic).&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px;&quot;&gt;Runs your workflow when a project board is created or modified. For activity related to cards or columns in a project board.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px;&quot;&gt;For example, you can run a workflow when a project has been&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;created&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;deleted&lt;/code&gt;.&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;project:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;types:&lt;/span&gt; [&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;created&lt;/span&gt;, &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;deleted&lt;/span&gt;]&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75691/explain-about-the-project-webhook-trigger-in-github-actions?show=75692#a75692</guid>
<pubDate>Thu, 03 Aug 2023 02:32:20 +0000</pubDate>
</item>
<item>
<title>Answered: Explain about the page_build webhook trigger event in Github?</title>
<link>https://madanswer.com/75689/explain-about-the-page_build-webhook-trigger-event-in-github?show=75690#a75690</link>
<description>
&lt;table style=&quot;border-collapse:collapse; border-spacing:0px; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; font-size:14.4px; line-height:1.5; margin-bottom:16px; margin-top:0px; max-width:100%; overflow:auto; position:relative; table-layout:auto; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border:none; box-sizing:border-box&quot;&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem 0.75rem 0px; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Webhook event payload&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Activity types&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_SHA&lt;/code&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_REF&lt;/code&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border-top:1px solid var(--color-border-muted); box-sizing:border-box&quot;&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem 0.75rem 0px; vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#page_build&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%; margin-bottom: 0px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;page_build&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Not applicable&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Last commit on default branch&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Not applicable&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600); margin-bottom:0px&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;This event will only trigger a workflow run if the workflow file is on the default branch.&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;Runs your workflow when someone pushes to a branch that is the publishing source for GitHub Pages, if GitHub Pages is enabled for the repository.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;For example, you can run a workflow when the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;page_build&lt;/code&gt;&amp;nbsp;event occurs.&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;page_build&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75689/explain-about-the-page_build-webhook-trigger-event-in-github?show=75690#a75690</guid>
<pubDate>Thu, 03 Aug 2023 02:30:56 +0000</pubDate>
</item>
<item>
<title>Answered: What is milestone webhook trigger event?</title>
<link>https://madanswer.com/75687/what-is-milestone-webhook-trigger-event?show=75688#a75688</link>
<description>
&lt;h2 id=&quot;milestone&quot; tabindex=&quot;-1&quot; style=&quot;box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-weight: var(--base-text-weight-semibold,600); line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid var(--color-border-muted); padding-top: 1rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;a class=&quot;heading-link&quot; rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#milestone&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: unset; text-decoration-line: none;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: inherit; padding: 0px 0.2em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;milestone&lt;/code&gt;&lt;/a&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; border-spacing:0px; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; font-size:14.4px; line-height:1.5; margin-bottom:16px; margin-top:0px; max-width:100%; overflow:auto; position:relative; table-layout:auto; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border:none; box-sizing:border-box&quot;&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem 0.75rem 0px; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Webhook event payload&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Activity types&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_SHA&lt;/code&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_REF&lt;/code&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border-top:1px solid var(--color-border-muted); box-sizing:border-box&quot;&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem 0.75rem 0px; vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#milestone&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%; margin-bottom: 0px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;milestone&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;created&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;closed&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;opened&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;edited&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;deleted&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Last commit on default branch&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Default branch&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600)&quot;&gt;Note&lt;/span&gt;: More than one activity type triggers this event. For information about each activity type&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;font-size:16px&quot;&gt;Runs your workflow when a milestone in the workflow&#039;s repository is created or modified. For more information about milestones.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color:var(--color-accent-subtle); font-size:16px&quot;&gt;If you want to run your workflow when an issue is added to or removed from a milestone, use the&lt;/span&gt;&lt;span style=&quot;background-color:var(--color-accent-subtle); font-size:16px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: var(--color-neutral-muted); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; border-radius: 6px;&quot;&gt;milestoned&lt;/code&gt;&lt;span style=&quot;background-color:var(--color-accent-subtle); font-size:16px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color:var(--color-accent-subtle); font-size:16px&quot;&gt;or&lt;/span&gt;&lt;span style=&quot;background-color:var(--color-accent-subtle); font-size:16px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: var(--color-neutral-muted); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; border-radius: 6px;&quot;&gt;demilestoned&lt;/code&gt;&lt;span style=&quot;background-color:var(--color-accent-subtle); font-size:16px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color:var(--color-accent-subtle); font-size:16px&quot;&gt;activity types for the&lt;/span&gt;&lt;span style=&quot;background-color:var(--color-accent-subtle); font-size:16px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issues&quot; style=&quot;font-size: 16px; background-color: transparent; box-sizing: border-box; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;issues&lt;/code&gt;&lt;/a&gt;&lt;span style=&quot;background-color:var(--color-accent-subtle); font-size:16px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color:var(--color-accent-subtle); font-size:16px&quot;&gt;event instead.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px;&quot;&gt;For example, you can run a workflow when a milestone has been&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;opened&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;deleted&lt;/code&gt;.&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;milestone:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;types:&lt;/span&gt; [&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;opened&lt;/span&gt;, &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;deleted&lt;/span&gt;]&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75687/what-is-milestone-webhook-trigger-event?show=75688#a75688</guid>
<pubDate>Thu, 03 Aug 2023 02:26:33 +0000</pubDate>
</item>
<item>
<title>Answered: What is merge_group Webhook event type in GitHub?</title>
<link>https://madanswer.com/75685/what-is-merge_group-webhook-event-type-in-github?show=75686#a75686</link>
<description>
&lt;h2 id=&quot;merge_group&quot; tabindex=&quot;-1&quot; style=&quot;box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-weight: var(--base-text-weight-semibold,600); line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid var(--color-border-muted); padding-top: 1rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;a class=&quot;heading-link&quot; rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#merge_group&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: unset; text-decoration-line: none;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: inherit; padding: 0px 0.2em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;merge_group&lt;/code&gt;&lt;/a&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; border-spacing:0px; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; font-size:14.4px; line-height:1.5; margin-bottom:16px; margin-top:0px; max-width:100%; overflow:auto; position:relative; table-layout:auto; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border:none; box-sizing:border-box&quot;&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem 0.75rem 0px; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Webhook event payload&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Activity types&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_SHA&lt;/code&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_REF&lt;/code&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border-top:1px solid var(--color-border-muted); box-sizing:border-box&quot;&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem 0.75rem 0px; vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%; margin-bottom: 0px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;merge_group&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;checks_requested&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;SHA of the merge group&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Ref of the merge group&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600)&quot;&gt;Note&lt;/span&gt;: More than one activity type triggers this event. Although only the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 11.9px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;checks_requested&lt;/code&gt;&amp;nbsp;activity type is supported, specifying the activity type will keep your workflow specific if more activity types are added in the future.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px;&quot;&gt;Runs your workflow when a pull request is added to a merge queue, which adds the pull request to a merge group.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px;&quot;&gt;For example, you can run a workflow when the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;checks_requested&lt;/code&gt;&amp;nbsp;activity has occurred.&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;merge_group:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;types:&lt;/span&gt; [&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;checks_requested&lt;/span&gt;]&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75685/what-is-merge_group-webhook-event-type-in-github?show=75686#a75686</guid>
<pubDate>Thu, 03 Aug 2023 02:25:08 +0000</pubDate>
</item>
<item>
<title>Answered: Explain about the label webhook event in Github?</title>
<link>https://madanswer.com/75683/explain-about-the-label-webhook-event-in-github?show=75684#a75684</link>
<description>
&lt;table style=&quot;border-collapse:collapse; border-spacing:0px; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; font-size:14.4px; line-height:1.5; margin-bottom:16px; margin-top:0px; max-width:100%; overflow:auto; position:relative; table-layout:auto; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border:none; box-sizing:border-box&quot;&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem 0.75rem 0px; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Webhook event payload&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Activity types&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_SHA&lt;/code&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_REF&lt;/code&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border-top:1px solid var(--color-border-muted); box-sizing:border-box&quot;&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem 0.75rem 0px; vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#label&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%; margin-bottom: 0px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;label&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;created&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;edited&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;deleted&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Last commit on default branch&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Default branch&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600)&quot;&gt;Note&lt;/span&gt;: More than one activity type triggers this event. For information about each activity type.&amp;nbsp;By default, all activity types trigger workflows that run on this event. You can limit your workflow runs to specific activity types using the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 11.9px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;types&lt;/code&gt;&amp;nbsp;keyword.&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600); margin-bottom:0px&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;This event will only trigger a workflow run if the workflow file is on the default branch.&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;Runs your workflow when a label in your workflow&#039;s repository is created or modified. For more information about labels.If you want to run your workflow when a label is added to or removed from an issue, pull request, or discussion, use the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;labeled&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;unlabeled&lt;/code&gt;&amp;nbsp;activity types for the&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issues&quot; style=&quot;box-sizing: border-box; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;issues&lt;/code&gt;&lt;/a&gt;,&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request&quot; style=&quot;box-sizing: border-box; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;pull_request&lt;/code&gt;&lt;/a&gt;,&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target&quot; style=&quot;box-sizing: border-box; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;pull_request_target&lt;/code&gt;&lt;/a&gt;, or&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#discussion&quot; style=&quot;box-sizing: border-box; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;discussion&lt;/code&gt;&lt;/a&gt;&amp;nbsp;events instead.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;For example, you can run a workflow when a label has been&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;created&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;deleted&lt;/code&gt;.&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;label:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;types:&lt;/span&gt; [&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;created&lt;/span&gt;, &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;deleted&lt;/span&gt;]&lt;/code&gt;&lt;/pre&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75683/explain-about-the-label-webhook-event-in-github?show=75684#a75684</guid>
<pubDate>Thu, 03 Aug 2023 02:23:39 +0000</pubDate>
</item>
<item>
<title>Answered: Explain about the issues trigger event in github actions?</title>
<link>https://madanswer.com/75681/explain-about-the-issues-trigger-event-in-github-actions?show=75682#a75682</link>
<description>
&lt;table style=&quot;border-collapse:collapse; border-spacing:0px; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; font-size:14.4px; line-height:1.5; margin-bottom:16px; margin-top:0px; max-width:100%; overflow:auto; position:relative; table-layout:auto; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border:none; box-sizing:border-box&quot;&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem 0.75rem 0px; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Webhook event payload&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;Activity types&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_SHA&lt;/code&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;box-sizing: border-box; padding: 0.75rem 0.5rem; font-weight: 400; border: 0px; text-align: left; position: sticky; vertical-align: top; z-index: 0; top: 105px; background: var(--color-canvas-default); box-shadow: 0 3px 0 0 var(--color-canvas-subtle);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_REF&lt;/code&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color:var(--color-canvas-default); border-top:1px solid var(--color-border-muted); box-sizing:border-box&quot;&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem 0.75rem 0px; vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#issues&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%; margin-bottom: 0px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;issues&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;opened&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;edited&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;deleted&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;transferred&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;pinned&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;unpinned&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;closed&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;reopened&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;assigned&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;unassigned&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;labeled&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;unlabeled&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;locked&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;unlocked&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;milestoned&lt;/code&gt;&lt;br style=&quot;box-sizing: border-box;&quot;&gt;-&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 12.24px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;demilestoned&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Last commit on default branch&lt;/td&gt;&lt;td style=&quot;border-width:0px; box-sizing:border-box; padding:0.75rem 0.5rem; vertical-align:top&quot;&gt;Default branch&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600)&quot;&gt;Note&lt;/span&gt;: More than one activity type triggers this event. For information about each activity type,&amp;nbsp;By default, all activity types trigger workflows that run on this event. You can limit your workflow runs to specific activity types using the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 11.9px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;types&lt;/code&gt;&amp;nbsp;keyword. For more information.&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600); margin-bottom:0px&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;This event will only trigger a workflow run if the workflow file is on the default branch.&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;Runs your workflow when an issue in the workflow&#039;s repository is created or modified. For activity related to comments in an issue, use the&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;issue_comment&lt;/code&gt;&lt;/a&gt;&amp;nbsp;event.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;For example, you can run a workflow when an issue has been&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;opened&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;edited&lt;/code&gt;, or&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;milestoned&lt;/code&gt;.&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;issues:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;types:&lt;/span&gt; [&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;opened&lt;/span&gt;, &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;edited&lt;/span&gt;, &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;milestoned&lt;/span&gt;]&lt;/code&gt;&lt;/pre&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75681/explain-about-the-issues-trigger-event-in-github-actions?show=75682#a75682</guid>
<pubDate>Thu, 03 Aug 2023 02:21:55 +0000</pubDate>
</item>
<item>
<title>Answered: Event trigger issue_comment on issues only or pull requests only in GithubActions?</title>
<link>https://madanswer.com/75679/event-trigger-issue_comment-on-issues-only-or-pull-requests-only-in-githubactions?show=75680#a75680</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;The&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;issue_comment&lt;/code&gt;&amp;nbsp;event occurs for comments on both issues and pull requests. You can use the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;github.event.issue.pull_request&lt;/code&gt;&amp;nbsp;property in a conditional to take different action depending on whether the triggering object was an issue or pull request.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;For example, this workflow will run the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;pr_commented&lt;/code&gt;&amp;nbsp;job only if the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;issue_comment&lt;/code&gt;&amp;nbsp;event originated from a pull request. It will run the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;issue_commented&lt;/code&gt;&amp;nbsp;job only if the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;issue_comment&lt;/code&gt;&amp;nbsp;event originated from an issue.&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;issue_comment&lt;/span&gt;

&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;pr_commented:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-comment)&quot; class=&quot;hljs-comment&quot;&gt;# This job only runs for pull request comments&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;name:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;PR&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;comment&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;if:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;github.event.issue.pull_request&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;runs-on:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;ubuntu-latest&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;steps:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box&quot; class=&quot;hljs-bullet&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;run:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;|
          echo A comment on PR $NUMBER
&lt;/span&gt;        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;env:&lt;/span&gt;
          &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;NUMBER:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;github.event.issue.number&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;

  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;issue_commented:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-comment)&quot; class=&quot;hljs-comment&quot;&gt;# This job only runs for issue comments&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;name:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;Issue&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;comment&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;if:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-variable)&quot; class=&quot;hljs-type&quot;&gt;!github.event.issue.pull_request&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;runs-on:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;ubuntu-latest&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;steps:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box&quot; class=&quot;hljs-bullet&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;run:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;|
          echo A comment on issue $NUMBER
&lt;/span&gt;        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;env:&lt;/span&gt;
          &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;NUMBER:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;github.event.issue.number&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;/div&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75679/event-trigger-issue_comment-on-issues-only-or-pull-requests-only-in-githubactions?show=75680#a75680</guid>
<pubDate>Thu, 03 Aug 2023 02:19:39 +0000</pubDate>
</item>
<item>
<title>Answered: Explain about events that trigger workflows in gitHub?</title>
<link>https://madanswer.com/75677/explain-about-events-that-trigger-workflows-in-github?show=75678#a75678</link>
<description>
&lt;p&gt;&lt;span style=&quot;color:#656d76; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; font-size:24px&quot;&gt;You can configure your workflows to run when specific activity on GitHub happens, at a scheduled time, or when an event outside of GitHub occurs.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;&quot;&gt;Workflow triggers are events that cause a workflow to run.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;&quot;&gt;Some events have multiple activity types. For these events, you can specify which activity types will trigger a workflow run.&lt;/span&gt;&lt;span style=&quot;color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#branch_protection_rule&quot;&gt;branch_protection_rule&lt;/a&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;Webhook event payload&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;Activity types&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;GITHUB_SHA&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;GITHUB_REF&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule&quot;&gt;branch_protection_rule&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;-&amp;nbsp;created&lt;br&gt;-&amp;nbsp;edited&lt;br&gt;-&amp;nbsp;deleted&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;Last commit on default branch&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;Default branch&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style=&quot;color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;&quot;&gt;Runs your workflow when branch protection rules in the workflow repository are changed. For more information about branch protection rules, see &quot;&lt;/span&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches&quot;&gt;About protected branches&lt;/a&gt;&lt;span style=&quot;color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;&quot;&gt;.&quot; For information about the branch protection rule APIs&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;For example, you can run a workflow when a branch protection rule has been&amp;nbsp;created&amp;nbsp;or&amp;nbsp;deleted:&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-entity-tag)&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;color:var(--color-prettylights-syntax-entity-tag)&quot;&gt;branch_protection_rule:&lt;/span&gt;
    &lt;span style=&quot;color:var(--color-prettylights-syntax-entity-tag)&quot;&gt;types:&lt;/span&gt; [&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;created&lt;/span&gt;, &lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;deleted&lt;/span&gt;]&lt;/pre&gt;&lt;pre&gt;
&lt;/pre&gt;&lt;h2&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#check_run&quot;&gt;check_run&lt;/a&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;Webhook event payload&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;Activity types&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;GITHUB_SHA&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;GITHUB_REF&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#check_run&quot;&gt;check_run&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;-&amp;nbsp;created&lt;br&gt;-&amp;nbsp;rerequested&lt;br&gt;-&amp;nbsp;completed&lt;br&gt;-&amp;nbsp;requested_action&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;Last commit on default branch&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;Default branch&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Runs your workflow when activity related to a check run occurs. A check run is an individual test that is part of a check suite.&lt;/p&gt;&lt;pre&gt;
&lt;/pre&gt;&lt;p&gt;For example, you can run a workflow when a check run has been&amp;nbsp;rerequested&amp;nbsp;or&amp;nbsp;completed.&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-entity-tag)&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;color:var(--color-prettylights-syntax-entity-tag)&quot;&gt;check_run:&lt;/span&gt;
    &lt;span style=&quot;color:var(--color-prettylights-syntax-entity-tag)&quot;&gt;types:&lt;/span&gt; [&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;rerequested&lt;/span&gt;, &lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;completed&lt;/span&gt;]&lt;/pre&gt;&lt;pre&gt;
&lt;/pre&gt;&lt;pre&gt;
&lt;/pre&gt;&lt;h2&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#check_suite&quot;&gt;check_suite&lt;/a&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;Webhook event payload&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;Activity types&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;GITHUB_SHA&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;GITHUB_REF&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#check_suite&quot;&gt;check_suite&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;-&amp;nbsp;completed&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;Last commit on default branch&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;Default branch&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Runs your workflow when check suite activity occurs. A check suite is a collection of the check runs created for a specific commit. Check suites summarize the status and conclusion of the check runs that are in the suite.&amp;nbsp;&lt;/p&gt;&lt;pre&gt;
&lt;/pre&gt;&lt;p&gt;For example, you can run a workflow when a check suite has been&amp;nbsp;completed.&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-entity-tag)&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;color:var(--color-prettylights-syntax-entity-tag)&quot;&gt;check_suite:&lt;/span&gt;
    &lt;span style=&quot;color:var(--color-prettylights-syntax-entity-tag)&quot;&gt;types:&lt;/span&gt; [&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;completed&lt;/span&gt;]&lt;/pre&gt;&lt;pre&gt;
&lt;/pre&gt;&lt;h2&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#create&quot;&gt;create&lt;/a&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;Webhook event payload&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;Activity types&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;GITHUB_SHA&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;GITHUB_REF&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#create&quot;&gt;create&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;Not applicable&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;Last commit on the created branch or tag&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;Branch or tag created&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Note: An event will not be created when you create more than three tags at once.&lt;/p&gt;&lt;p&gt;Runs your workflow when someone creates a Git reference (Git branch or tag) in the workflow&#039;s repository.&amp;nbsp;&lt;/p&gt;&lt;p&gt;For example, you can run a workflow when the&amp;nbsp;create&amp;nbsp;event occurs.&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-entity-tag)&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;create&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;
&lt;/pre&gt;&lt;h2&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#delete&quot;&gt;delete&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Webhook event payload&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Activity types&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_SHA&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_REF&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#delete&quot;&gt;delete&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Not applicable&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Last commit on default branch&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Default branch&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Note:&amp;nbsp;This event will only trigger a workflow run if the workflow file is on the default branch.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Note: An event will not be created when you delete more than three tags at once.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Runs your workflow when someone deletes a Git reference (Git branch or tag) in the workflow&#039;s repository.&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#deployment&quot;&gt;deployment&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Webhook event payload&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Activity types&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_SHA&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_REF&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment&quot;&gt;deployment&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Not applicable&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Commit to be deployed&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Branch or tag to be deployed (empty if created with a commit SHA)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Runs your workflow when someone creates a deployment in the workflow&#039;s repository. Deployments created with a commit SHA may not have a Git ref. For information about the APIs to create a deployment.&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#deployment_status&quot;&gt;deployment_status&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Webhook event payload&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Activity types&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_SHA&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_REF&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment_status&quot;&gt;deployment_status&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Not applicable&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Commit to be deployed&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Branch or tag to be deployed (empty if commit)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Note:&amp;nbsp;When a deployment status&#039;s state is set to&amp;nbsp;inactive, a workflow run will not be triggered.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Runs your workflow when a third party provides a deployment status. Deployments created with a commit SHA may not have a Git ref.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#discussion&quot;&gt;discussion&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Webhook event payload&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Activity types&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_SHA&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_REF&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion&quot;&gt;discussion&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;-&amp;nbsp;created&lt;br&gt;-&amp;nbsp;edited&lt;br&gt;-&amp;nbsp;deleted&lt;br&gt;-&amp;nbsp;transferred&lt;br&gt;-&amp;nbsp;pinned&lt;br&gt;-&amp;nbsp;unpinned&lt;br&gt;-&amp;nbsp;labeled&lt;br&gt;-&amp;nbsp;unlabeled&lt;br&gt;-&amp;nbsp;locked&lt;br&gt;-&amp;nbsp;unlocked&lt;br&gt;-&amp;nbsp;category_changed&lt;br&gt;-&amp;nbsp;answered&lt;br&gt;-&amp;nbsp;unanswered&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Last commit on default branch&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Default branch&lt;/span&gt;&lt;br&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Runs your workflow when a discussion in the workflow&#039;s repository is created or modified. For activity related to comments on a discussion.
&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;
&lt;/pre&gt;&lt;h2&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#discussion_comment&quot;&gt;discussion_comment&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Webhook event payload&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Activity types&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_SHA&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_REF&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion_comment&quot;&gt;discussion_comment&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;-&amp;nbsp;created&lt;br&gt;-&amp;nbsp;edited&lt;br&gt;-&amp;nbsp;deleted&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Last commit on default branch&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Default branch&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Runs your workflow when a comment on a discussion in the workflow&#039;s repository is created or modified.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;pre&gt;
&lt;/pre&gt;&lt;h2&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#fork&quot;&gt;fork&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Webhook event payload&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Activity types&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_SHA&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_REF&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#fork&quot;&gt;fork&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Not applicable&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Last commit on default branch&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Default branch&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Note:&amp;nbsp;This event will only trigger a workflow run if the workflow file is on the default branch.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Runs your workflow when someone forks a repository.&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#gollum&quot;&gt;gollum&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Webhook event payload&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Activity types&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_SHA&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_REF&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#gollum&quot;&gt;gollum&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Not applicable&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Last commit on default branch&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Default branch&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Note:&amp;nbsp;This event will only trigger a workflow run if the workflow file is on the default branch.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Runs your workflow when someone creates or updates a Wiki page.&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment&quot;&gt;issue_comment&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;table style=&quot;border-collapse:collapse; width:720px; border-spacing: 0px;&quot;&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Webhook event payload&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Activity types&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_SHA&lt;/span&gt;&lt;/th&gt;&lt;th scope=&quot;col&quot; style=&quot;text-align:left; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;GITHUB_REF&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment&quot;&gt;issue_comment&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;-&amp;nbsp;created&lt;br&gt;-&amp;nbsp;edited&lt;br&gt;-&amp;nbsp;deleted&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Last commit on default branch&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-width:0px; vertical-align:top&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Default branch&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Note: More than one activity type triggers this event. For information about each activity type, see &quot;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment&quot;&gt;Webhook events and payloads&lt;/a&gt;.&quot; By default, all activity types trigger workflows that run on this event. You can limit your workflow runs to specific activity types using the&amp;nbsp;types&amp;nbsp;keyword. For more information, see &quot;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onevent_nametypes&quot;&gt;Workflow syntax for GitHub Actions&lt;/a&gt;.&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Note:&amp;nbsp;This event will only trigger a workflow run if the workflow file is on the default branch.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-string)&quot;&gt;Runs your workflow when an issue or pull request comment is created, edited, or deleted. For information about the issue comment APIs&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75677/explain-about-events-that-trigger-workflows-in-github?show=75678#a75678</guid>
<pubDate>Thu, 03 Aug 2023 02:18:22 +0000</pubDate>
</item>
<item>
<title>Answered: How can re-run a workflows and jobs with reusable workflows in github?</title>
<link>https://madanswer.com/75675/how-can-re-run-a-workflows-and-jobs-with-reusable-workflows-in-github?show=75676#a75676</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;Reusable workflows from public repositories can be referenced using a SHA, a release tag, or a branch name. For more information, see &quot;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;Reusing workflows&lt;/a&gt;.&quot;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;When you re-run a workflow that uses a reusable workflow and the reference is not a SHA, there are some behaviors to be aware of:&lt;/p&gt;&lt;ul style=&quot;box-sizing:border-box; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; margin-bottom:16px; margin-top:0px; padding-left:2em&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Re-running all jobs in a workflow will use the reusable workflow from the specified reference. For more information about re-running all jobs in a workflow.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;Re-running failed jobs or a specific job in a workflow will use the reusable workflow from the same commit SHA of the first attempt.&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75675/how-can-re-run-a-workflows-and-jobs-with-reusable-workflows-in-github?show=75676#a75676</guid>
<pubDate>Thu, 03 Aug 2023 02:11:39 +0000</pubDate>
</item>
<item>
<title>Answered: For Monitoring which workflows are being used in github?</title>
<link>https://madanswer.com/75673/for-monitoring-which-workflows-are-being-used-in-github?show=75674#a75674</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;You can use the GitHub REST API to monitor how reusable workflows are being used. The&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;prepared_workflow_job&lt;/code&gt;&amp;nbsp;audit log action is triggered when a workflow job is started. Included in the data recorded are:&lt;/p&gt;&lt;ul style=&quot;box-sizing:border-box; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; margin-bottom:16px; margin-top:0px; padding-left:2em&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;repo&lt;/code&gt;&amp;nbsp;- the organization/repository where the workflow job is located. For a job that calls another workflow, this is the organization/repository of the caller workflow.&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;@timestamp&lt;/code&gt;&amp;nbsp;- the date and time that the job was started, in Unix epoch format.&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;job_name&lt;/code&gt;&amp;nbsp;- the name of the job that was run.&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;calling_workflow_refs&lt;/code&gt;&amp;nbsp;- an array of file paths for all the caller workflows involved in this workflow job. The items in the array are in the reverse order that they were called in. For example, in a chain of workflows A &amp;gt; B &amp;gt; C, when viewing the logs for a job in workflow C, the array would be&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;[&quot;octo-org/octo-repo/.github/workflows/B.yml&quot;, &quot;octo-org/octo-repo/.github/workflows/A.yml&quot;]&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;calling_workflow_shas&lt;/code&gt;&amp;nbsp;- an array of SHAs for all the caller workflows involved in this workflow job. The array contains the same number of items, in the same order, as the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;calling_workflow_refs&lt;/code&gt;&amp;nbsp;array.&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;job_workflow_ref&lt;/code&gt;&amp;nbsp;- the workflow file that was used, in the form&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;{owner}/{repo}/{path}/{filename}@{ref}&lt;/code&gt;. For a job that calls another workflow, this identifies the called workflow.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75673/for-monitoring-which-workflows-are-being-used-in-github?show=75674#a75674</guid>
<pubDate>Thu, 03 Aug 2023 02:10:09 +0000</pubDate>
</item>
<item>
<title>Answered: How to use outputs from a reusable workflow in github?</title>
<link>https://madanswer.com/75671/how-to-use-outputs-from-a-reusable-workflow-in-github?show=75672#a75672</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;A reusable workflow may generate data that you want to use in the caller workflow. To use these outputs, you must specify them as the outputs of the reusable workflow.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;If a reusable workflow that sets an output is executed with a matrix strategy, the output will be the output set by the last successful completing reusable workflow of the matrix which actually sets a value. That means if the last successful completing reusable workflow sets an empty string for its output, and the second last successful completing reusable workflow sets an actual value for its output, the output will contain the value of the second last completing reusable workflow.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;The following reusable workflow has a single job containing two steps. In each of these steps we set a single word as the output: &quot;hello&quot; and &quot;world.&quot; In the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;outputs&lt;/code&gt;&amp;nbsp;section of the job, we map these step outputs to job outputs called:&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;output1&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;output2&lt;/code&gt;. In the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;on.workflow_call.outputs&lt;/code&gt;&amp;nbsp;section we then define two outputs for the workflow itself, one called&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;firstword&lt;/code&gt;&amp;nbsp;which we map to&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;output1&lt;/code&gt;, and one called&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;secondword&lt;/code&gt;&amp;nbsp;which we map to&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;output2&lt;/code&gt;.&lt;/p&gt;&lt;div class=&quot;code-example&quot; style=&quot;box-sizing: border-box; margin-top: 1.5rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;header class=&quot;d-flex flex-items-center flex-justify-between p-2 text-small rounded-top-1 border-top border-left border-right&quot; style=&quot;box-sizing: border-box; display: flex !important; border-top: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-right: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-left: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-top-left-radius: var(--borderRadius-small,4px) !important; border-top-right-radius: var(--borderRadius-small,4px) !important; justify-content: space-between !important; align-items: center !important; padding: var(--base-size-8,8px) !important; font-size: var(--h6-size,12px) !important;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; flex-basis:0%; flex-grow:1 !important; flex-shrink:1 !important&quot; class=&quot;flex-1&quot;&gt;YAML&lt;/span&gt;&lt;button class=&quot;js-btn-copy btn btn-sm tooltipped tooltipped-nw&quot; aria-label=&quot;Copy code to clipboard&quot; data-clipboard=&quot;4037974002&quot; style=&quot;font-style: inherit; font-variant: inherit; font-weight: var(--base-text-weight-medium,500); font-stretch: inherit; font-size: 12px; line-height: 20px; font-family: inherit; font-optical-sizing: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: 0px; overflow: visible; appearance: none; cursor: pointer; border-radius: 6px; position: relative; padding: 3px 12px; text-wrap: nowrap; vertical-align: middle; user-select: none; border-width: 1px; border-style: solid; border-color: var(--color-btn-border); box-shadow: var(--color-btn-shadow),var(--color-btn-inset-shadow); transition: color 80ms cubic-bezier(0.33, 1, 0.68, 1) 0s, background-color 0s ease 0s, box-shadow 0s ease 0s, border-color 0s ease 0s;&quot;&gt;&lt;/button&gt;&lt;/header&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0px !important; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: var(--color-fg-default); background-color: var(--color-canvas-subtle); border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: ; border-top-style: ; border-top-width: ; border-right: 1px solid var(--color-border-default) !important; border-bottom: 1px solid var(--color-border-default) !important; border-left: 1px solid var(--color-border-default) !important; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ;&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;name:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;Reusable&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;workflow&lt;/span&gt;

&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;workflow_call:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-comment)&quot; class=&quot;hljs-comment&quot;&gt;# Map the workflow outputs to job outputs&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;outputs:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;firstword:&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;description:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;&quot;The first output string&quot;&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;value:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;jobs.example_job.outputs.output1&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;secondword:&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;description:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;&quot;The second output string&quot;&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;value:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;jobs.example_job.outputs.output2&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;

&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;example_job:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;name:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;Generate&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;output&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;runs-on:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;ubuntu-latest&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-comment)&quot; class=&quot;hljs-comment&quot;&gt;# Map the job outputs to step outputs&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;outputs:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;output1:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;steps.step1.outputs.firstword&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;output2:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;steps.step2.outputs.secondword&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;steps:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box&quot; class=&quot;hljs-bullet&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;id:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;step1&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;run:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;&quot;firstword=hello&quot;&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;$GITHUB_OUTPUT&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box&quot; class=&quot;hljs-bullet&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;id:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;step2&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;run:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;&quot;secondword=world&quot;&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;$GITHUB_OUTPUT&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;We can now use the outputs in the caller workflow, in the same way you would use the outputs from a job within the same workflow. We reference the outputs using the names defined at the workflow level in the reusable workflow:&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;firstword&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;secondword&lt;/code&gt;. In this workflow,&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;job1&lt;/code&gt;&amp;nbsp;calls the reusable workflow and&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;job2&lt;/code&gt;&amp;nbsp;prints the outputs from the reusable workflow (&quot;hello world&quot;) to standard output in the workflow log.&lt;/p&gt;&lt;div class=&quot;code-example&quot; style=&quot;box-sizing: border-box; margin-top: 1.5rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;header class=&quot;d-flex flex-items-center flex-justify-between p-2 text-small rounded-top-1 border-top border-left border-right&quot; style=&quot;box-sizing: border-box; display: flex !important; border-top: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-right: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-left: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-top-left-radius: var(--borderRadius-small,4px) !important; border-top-right-radius: var(--borderRadius-small,4px) !important; justify-content: space-between !important; align-items: center !important; padding: var(--base-size-8,8px) !important; font-size: var(--h6-size,12px) !important;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; flex-basis:0%; flex-grow:1 !important; flex-shrink:1 !important&quot; class=&quot;flex-1&quot;&gt;YAML&lt;/span&gt;&lt;button class=&quot;js-btn-copy btn btn-sm tooltipped tooltipped-nw&quot; aria-label=&quot;Copy code to clipboard&quot; data-clipboard=&quot;3956094802&quot; style=&quot;font-style: inherit; font-variant: inherit; font-weight: var(--base-text-weight-medium,500); font-stretch: inherit; font-size: 12px; line-height: 20px; font-family: inherit; font-optical-sizing: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: 0px; overflow: visible; appearance: none; cursor: pointer; border-radius: 6px; position: relative; padding: 3px 12px; text-wrap: nowrap; vertical-align: middle; user-select: none; border-width: 1px; border-style: solid; border-color: var(--color-btn-border); box-shadow: var(--color-btn-shadow),var(--color-btn-inset-shadow); transition: color 80ms cubic-bezier(0.33, 1, 0.68, 1) 0s, background-color 0s ease 0s, box-shadow 0s ease 0s, border-color 0s ease 0s;&quot;&gt;&lt;/button&gt;&lt;/header&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0px !important; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: var(--color-fg-default); background-color: var(--color-canvas-subtle); border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: ; border-top-style: ; border-top-width: ; border-right: 1px solid var(--color-border-default) !important; border-bottom: 1px solid var(--color-border-default) !important; border-left: 1px solid var(--color-border-default) !important; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ;&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;name:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;Call&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;reusable&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;workflow&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;and&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;use&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;its&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;outputs&lt;/span&gt;

&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;workflow_dispatch:&lt;/span&gt;

&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;job1:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;octo-org/example-repo/.github/workflows/called-workflow.yml@v1&lt;/span&gt;

  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;job2:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;runs-on:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;ubuntu-latest&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;needs:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;job1&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;steps:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box&quot; class=&quot;hljs-bullet&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;run:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;needs.job1.outputs.firstword&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;needs.job1.outputs.secondword&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75671/how-to-use-outputs-from-a-reusable-workflow-in-github?show=75672#a75672</guid>
<pubDate>Thu, 03 Aug 2023 02:08:55 +0000</pubDate>
</item>
<item>
<title>Answered: Explain about the Access and permissions of workflow in gitHub?</title>
<link>https://madanswer.com/75669/explain-about-the-access-and-permissions-of-workflow-in-github?show=75670#a75670</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;A workflow that contains nested reusable workflows will fail if any of the nested workflows is inaccessible to the initial caller workflow.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;GITHUB_TOKEN&lt;/code&gt;&amp;nbsp;permissions can only be the same or more restrictive in nested workflows. For example, in the workflow chain A &amp;gt; B &amp;gt; C, if workflow A has&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;package: read&lt;/code&gt;&amp;nbsp;token permission, then B and C cannot have&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;package: write&lt;/code&gt;&amp;nbsp;permission.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;For information on how to use the API to determine which workflow files were involved in a particular workflow run&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75669/explain-about-the-access-and-permissions-of-workflow-in-github?show=75670#a75670</guid>
<pubDate>Thu, 03 Aug 2023 02:07:35 +0000</pubDate>
</item>
<item>
<title>Answered: How can we pass the Passing secrets to nested workflows in Github actions?</title>
<link>https://madanswer.com/75667/how-can-we-pass-the-passing-secrets-to-nested-workflows-in-github-actions?show=75668#a75668</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;You can use&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.secrets&lt;/code&gt;&amp;nbsp;in a calling workflow to pass named secrets to a directly called workflow. Alternatively, you can use&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.secrets.inherit&lt;/code&gt;&amp;nbsp;to pass all of the calling workflow&#039;s secrets to a directly called workflow.&amp;nbsp;Secrets are only passed to directly called workflow, so in the workflow chain A &amp;gt; B &amp;gt; C, workflow C will only receive secrets from A if they have been passed from A to B, and then from B to C.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;In the following example, workflow A passes all of its secrets to workflow B, by using the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;inherit&lt;/code&gt;&amp;nbsp;keyword, but workflow B only passes one secret to workflow C. Any of the other secrets passed to workflow B are not available to workflow C.&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;workflowA-calls-workflowB:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;octo-org/example-repo/.github/workflows/B.yml@main&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;secrets:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;inherit&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-comment)&quot; class=&quot;hljs-comment&quot;&gt;# pass all secrets&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;workflowB-calls-workflowC:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;different-org/example-repo/.github/workflows/C.yml@main&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;secrets:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;envPAT:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;secrets.envPAT&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-comment)&quot; class=&quot;hljs-comment&quot;&gt;# pass just this secret&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75667/how-can-we-pass-the-passing-secrets-to-nested-workflows-in-github-actions?show=75668#a75668</guid>
<pubDate>Thu, 03 Aug 2023 02:06:11 +0000</pubDate>
</item>
<item>
<title>Answered: Explain about the Nesting reusable workflows in github?</title>
<link>https://madanswer.com/75665/explain-about-the-nesting-reusable-workflows-in-github?show=75666#a75666</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;You can connect a maximum of four levels of workflows - that is, the top-level caller workflow and up to three levels of reusable workflows. For example:&amp;nbsp;&lt;em style=&quot;box-sizing:border-box&quot;&gt;caller-workflow.yml&lt;/em&gt;&amp;nbsp;&amp;rarr;&amp;nbsp;&lt;em style=&quot;box-sizing:border-box&quot;&gt;called-workflow-1.yml&lt;/em&gt;&amp;nbsp;&amp;rarr;&amp;nbsp;&lt;em style=&quot;box-sizing:border-box&quot;&gt;called-workflow-2.yml&lt;/em&gt;&amp;nbsp;&amp;rarr;&amp;nbsp;&lt;em style=&quot;box-sizing:border-box&quot;&gt;called-workflow-3.yml&lt;/em&gt;. Loops in the workflow tree are not permitted.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;From within a reusable workflow you can call another reusable workflow.&lt;/p&gt;&lt;div class=&quot;code-example&quot; style=&quot;box-sizing: border-box; margin-top: 1.5rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;header class=&quot;d-flex flex-items-center flex-justify-between p-2 text-small rounded-top-1 border-top border-left border-right&quot; style=&quot;box-sizing: border-box; display: flex !important; border-top: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-right: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-left: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-top-left-radius: var(--borderRadius-small,4px) !important; border-top-right-radius: var(--borderRadius-small,4px) !important; justify-content: space-between !important; align-items: center !important; padding: var(--base-size-8,8px) !important; font-size: var(--h6-size,12px) !important;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; flex-basis:0%; flex-grow:1 !important; flex-shrink:1 !important&quot; class=&quot;flex-1&quot;&gt;YAML&lt;/span&gt;&lt;button class=&quot;js-btn-copy btn btn-sm tooltipped tooltipped-nw&quot; aria-label=&quot;Copy code to clipboard&quot; data-clipboard=&quot;2883066100&quot; style=&quot;font-style: inherit; font-variant: inherit; font-weight: var(--base-text-weight-medium,500); font-stretch: inherit; font-size: 12px; line-height: 20px; font-family: inherit; font-optical-sizing: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: 0px; overflow: visible; appearance: none; cursor: pointer; border-radius: 6px; position: relative; padding: 3px 12px; text-wrap: nowrap; vertical-align: middle; user-select: none; border-width: 1px; border-style: solid; border-color: var(--color-btn-border); box-shadow: var(--color-btn-shadow),var(--color-btn-inset-shadow); transition: color 80ms cubic-bezier(0.33, 1, 0.68, 1) 0s, background-color 0s ease 0s, box-shadow 0s ease 0s, border-color 0s ease 0s;&quot;&gt;&lt;/button&gt;&lt;/header&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0px !important; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: var(--color-fg-default); background-color: var(--color-canvas-subtle); border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: ; border-top-style: ; border-top-width: ; border-right: 1px solid var(--color-border-default) !important; border-bottom: 1px solid var(--color-border-default) !important; border-left: 1px solid var(--color-border-default) !important; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ;&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;name:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;Reusable&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;workflow&lt;/span&gt;

&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;workflow_call:&lt;/span&gt;

&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;call-another-reusable:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;octo-org/example-repo/.github/workflows/another-reusable.yml@v1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75665/explain-about-the-nesting-reusable-workflows-in-github?show=75666#a75666</guid>
<pubDate>Thu, 03 Aug 2023 02:04:41 +0000</pubDate>
</item>
<item>
<title>Answered: What are Supported keywords for jobs that call a reusable workflow in Github Actions?</title>
<link>https://madanswer.com/75605/what-are-supported-keywords-for-jobs-that-call-reusable-workflow-in-github-actions?show=75606#a75606</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;&quot;&gt;When you call a reusable workflow, you can only use the following keywords in the job containing the call:&lt;/p&gt;&lt;ul style=&quot;box-sizing:border-box; margin-bottom:16px; margin-top:0px; padding-left:2em&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.name&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iduses&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.uses&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idwith&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.with&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idwithinput_id&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.with.&amp;lt;input_id&amp;gt;&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idsecrets&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.secrets&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idsecretssecret_id&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.secrets.&amp;lt;secret_id&amp;gt;&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idsecretsinherit&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.secrets.inherit&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategy&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.strategy&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.needs&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idif&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.if&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idconcurrency&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.concurrency&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 16px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idpermissions&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.permissions&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75605/what-are-supported-keywords-for-jobs-that-call-reusable-workflow-in-github-actions?show=75606#a75606</guid>
<pubDate>Tue, 01 Aug 2023 14:09:10 +0000</pubDate>
</item>
<item>
<title>Answered: Explain about matrix strategy with a reusable workflow in Github Actions?</title>
<link>https://madanswer.com/75603/explain-about-matrix-strategy-with-a-reusable-workflow-in-github-actions?show=75604#a75604</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;Jobs using the matrix strategy can call a reusable workflow.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;A matrix strategy lets you use variables in a single job definition to automatically create multiple job runs that are based on the combinations of the variables. For example, you can use a matrix strategy to pass different inputs to a reusable workflow.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;This example job below calls a reusable workflow and references the matrix context by defining the variable&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;target&lt;/code&gt;&amp;nbsp;with the values&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;[dev, stage, prod]&lt;/code&gt;. It will run three jobs, one for each value in the variable.&lt;/p&gt;&lt;div class=&quot;code-example&quot; style=&quot;box-sizing: border-box; margin-top: 1.5rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;header class=&quot;d-flex flex-items-center flex-justify-between p-2 text-small rounded-top-1 border-top border-left border-right&quot; style=&quot;box-sizing: border-box; display: flex !important; border-top: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-right: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-left: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-top-left-radius: var(--borderRadius-small,4px) !important; border-top-right-radius: var(--borderRadius-small,4px) !important; justify-content: space-between !important; align-items: center !important; padding: var(--base-size-8,8px) !important; font-size: var(--h6-size,12px) !important;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; flex-basis:0%; flex-grow:1 !important; flex-shrink:1 !important&quot; class=&quot;flex-1&quot;&gt;YAML&lt;/span&gt;&lt;button class=&quot;js-btn-copy btn btn-sm tooltipped tooltipped-nw&quot; aria-label=&quot;Copy code to clipboard&quot; data-clipboard=&quot;2550015754&quot; style=&quot;font-style: inherit; font-variant: inherit; font-weight: var(--base-text-weight-medium,500); font-stretch: inherit; font-size: 12px; line-height: 20px; font-family: inherit; font-optical-sizing: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: 0px; overflow: visible; appearance: none; cursor: pointer; border-radius: 6px; position: relative; padding: 3px 12px; text-wrap: nowrap; vertical-align: middle; user-select: none; border-width: 1px; border-style: solid; border-color: var(--color-btn-border); box-shadow: var(--color-btn-shadow),var(--color-btn-inset-shadow); transition: color 80ms cubic-bezier(0.33, 1, 0.68, 1) 0s, background-color 0s ease 0s, box-shadow 0s ease 0s, border-color 0s ease 0s;&quot;&gt;&lt;/button&gt;&lt;/header&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0px !important; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: var(--color-fg-default); background-color: var(--color-canvas-subtle); border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: ; border-top-style: ; border-top-width: ; border-right: 1px solid var(--color-border-default) !important; border-bottom: 1px solid var(--color-border-default) !important; border-left: 1px solid var(--color-border-default) !important; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ;&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;ReuseableMatrixJobForDeployment:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;strategy:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;matrix:&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;target:&lt;/span&gt; [&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;dev&lt;/span&gt;, &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;stage&lt;/span&gt;, &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;prod&lt;/span&gt;]
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;octocat/octo-repo/.github/workflows/deployment.yml@main&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;with:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;target:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;matrix.target&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75603/explain-about-matrix-strategy-with-a-reusable-workflow-in-github-actions?show=75604#a75604</guid>
<pubDate>Tue, 01 Aug 2023 14:08:11 +0000</pubDate>
</item>
<item>
<title>Answered: How can we pass inputs and secrets to a reusable workflow in Github?</title>
<link>https://madanswer.com/75601/how-can-we-pass-inputs-and-secrets-to-a-reusable-workflow-in-github?show=75602#a75602</link>
<description>
&lt;h3 id=&quot;passing-inputs-and-secrets-to-a-reusable-workflow&quot; tabindex=&quot;-1&quot; style=&quot;box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; font-weight: var(--base-text-weight-semibold,600); line-height: 1.25; padding-top: 1rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;a class=&quot;heading-link&quot; rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/reusing-workflows#passing-inputs-and-secrets-to-a-reusable-workflow&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: unset; text-decoration-line: none;&quot;&gt;Passing inputs and secrets to a reusable workflow&lt;/a&gt;&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;To pass named inputs to a called workflow, use the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;with&lt;/code&gt;&amp;nbsp;keyword in a job. Use the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;secrets&lt;/code&gt;&amp;nbsp;keyword to pass named secrets. For inputs, the data type of the input value must match the type specified in the called workflow (either boolean, number, or string).&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;call-workflow-passing-data:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;octo-org/example-repo/.github/workflows/reusable-workflow.yml@main&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;with:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;config-path:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;.github/labeler.yml&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;secrets:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;envPAT:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;secrets.envPAT&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;Workflows that call reusable workflows in the same organization or enterprise can use the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;inherit&lt;/code&gt;&amp;nbsp;keyword to implicitly pass the secrets.&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;call-workflow-passing-data:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;octo-org/example-repo/.github/workflows/reusable-workflow.yml@main&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;with:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;config-path:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;.github/labeler.yml&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;secrets:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;inherit&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75601/how-can-we-pass-inputs-and-secrets-to-a-reusable-workflow-in-github?show=75602#a75602</guid>
<pubDate>Tue, 01 Aug 2023 14:05:39 +0000</pubDate>
</item>
<item>
<title>Answered: How to Calling a reusable workflow in github?</title>
<link>https://madanswer.com/75599/how-to-calling-a-reusable-workflow-in-github?show=75600#a75600</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;You call a reusable workflow by using the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;uses&lt;/code&gt;&amp;nbsp;keyword. Unlike when you are using actions within a workflow, you call reusable workflows directly within a job, and not from within job steps.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iduses&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;jobs.&amp;lt;job_id&amp;gt;.uses&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;You reference reusable workflow files using one of the following syntaxes:&lt;/p&gt;&lt;ul style=&quot;box-sizing:border-box; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; margin-bottom:16px; margin-top:0px; padding-left:2em&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;{owner}/{repo}/.github/workflows/{filename}@{ref}&lt;/code&gt;&amp;nbsp;for reusable workflows in public and private repositories.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;./.github/workflows/{filename}&lt;/code&gt;&amp;nbsp;for reusable workflows in the same repository.&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;In the first option,&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;{ref}&lt;/code&gt;&amp;nbsp;can be a SHA, a release tag, or a branch name. If a release tag and a branch have the same name, the release tag takes precedence over the branch name. Using the commit SHA is the safest option for stability and security.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;If you use the second syntax option (without&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;{owner}/{repo}&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;@{ref}&lt;/code&gt;) the called workflow is from the same commit as the caller workflow. Ref prefixes such as&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;refs/heads&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;refs/tags&lt;/code&gt;&amp;nbsp;are not allowed.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;You can call multiple workflows, referencing each in a separate job.&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;call-workflow-1-in-local-repo:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;octo-org/this-repo/.github/workflows/workflow-1.yml@172239021f7ba04fe7327647b213799853a9eb89&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;call-workflow-2-in-local-repo:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;./.github/workflows/workflow-2.yml&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;call-workflow-in-another-repo:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;octo-org/another-repo/.github/workflows/workflow.yml@v1&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75599/how-to-calling-a-reusable-workflow-in-github?show=75600#a75600</guid>
<pubDate>Tue, 01 Aug 2023 14:04:07 +0000</pubDate>
</item>
<item>
<title>Answered: Example of github reusable workflow?</title>
<link>https://madanswer.com/75597/example-of-github-reusable-workflow?show=75598#a75598</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;This reusable workflow file named&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;workflow-B.yml,&lt;/code&gt;&amp;nbsp;takes an input string and a secret from the caller workflow and uses them in an action.&lt;/p&gt;&lt;div class=&quot;code-example&quot; style=&quot;box-sizing: border-box; margin-top: 1.5rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;header class=&quot;d-flex flex-items-center flex-justify-between p-2 text-small rounded-top-1 border-top border-left border-right&quot; style=&quot;box-sizing: border-box; display: flex !important; border-top: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-right: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-left: var(--borderWidth-thin,1px) solid var(--color-border-default) !important; border-top-left-radius: var(--borderRadius-small,4px) !important; border-top-right-radius: var(--borderRadius-small,4px) !important; justify-content: space-between !important; align-items: center !important; padding: var(--base-size-8,8px) !important; font-size: var(--h6-size,12px) !important;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; flex-basis:0%; flex-grow:1 !important; flex-shrink:1 !important&quot; class=&quot;flex-1&quot;&gt;YAML&lt;/span&gt;&lt;button class=&quot;js-btn-copy btn btn-sm tooltipped tooltipped-nw&quot; aria-label=&quot;Copy code to clipboard&quot; data-clipboard=&quot;2230647021&quot; style=&quot;font-style: inherit; font-variant: inherit; font-weight: var(--base-text-weight-medium,500); font-stretch: inherit; font-size: 12px; line-height: 20px; font-family: inherit; font-optical-sizing: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; margin: 0px; overflow: visible; appearance: none; cursor: pointer; border-radius: 6px; position: relative; padding: 3px 12px; text-wrap: nowrap; vertical-align: middle; user-select: none; border-width: 1px; border-style: solid; border-color: var(--color-btn-border); box-shadow: var(--color-btn-shadow),var(--color-btn-inset-shadow); transition: color 80ms cubic-bezier(0.33, 1, 0.68, 1) 0s, background-color 0s ease 0s, box-shadow 0s ease 0s, border-color 0s ease 0s;&quot;&gt;&lt;/button&gt;&lt;/header&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0px !important; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: var(--color-fg-default); background-color: var(--color-canvas-subtle); border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-color: ; border-top-style: ; border-top-width: ; border-right: 1px solid var(--color-border-default) !important; border-bottom: 1px solid var(--color-border-default) !important; border-left: 1px solid var(--color-border-default) !important; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ;&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;name:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;Reusable&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;workflow&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;example&lt;/span&gt;

&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;workflow_call:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;inputs:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;config-path:&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;required:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-constant)&quot; class=&quot;hljs-literal&quot;&gt;true&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;type:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;string&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;secrets:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;token:&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;required:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-constant)&quot; class=&quot;hljs-literal&quot;&gt;true&lt;/span&gt;

&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;triage:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;runs-on:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;ubuntu-latest&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;steps:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box&quot; class=&quot;hljs-bullet&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;actions/labeler@v4&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;with:&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;repo-token:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;secrets.token&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;configuration-path:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;inputs.config-path&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75597/example-of-github-reusable-workflow?show=75598#a75598</guid>
<pubDate>Tue, 01 Aug 2023 14:02:49 +0000</pubDate>
</item>
<item>
<title>Answered: How to Create a reusable workflow of github Actions?</title>
<link>https://madanswer.com/75595/how-to-create-a-reusable-workflow-of-github-actions?show=75596#a75596</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;Reusable workflows are YAML-formatted files, very similar to any other workflow file. As with other workflow files, you locate reusable workflows in the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;.github/workflows&lt;/code&gt;&amp;nbsp;directory of a repository. Subdirectories of the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;workflows&lt;/code&gt;&amp;nbsp;directory are not supported.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;For a workflow to be reusable, the values for&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;on&lt;/code&gt;&amp;nbsp;must include&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;workflow_call&lt;/code&gt;:&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;workflow_call:&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&quot;using-inputs-and-secrets-in-a-reusable-workflow&quot; tabindex=&quot;-1&quot; style=&quot;box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; font-weight: var(--base-text-weight-semibold,600); line-height: 1.25; padding-top: 1rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;a class=&quot;heading-link&quot; rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: unset; text-decoration-line: none;&quot;&gt;Using inputs and secrets in a reusable workflow&lt;/a&gt;&lt;/h3&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;You can define inputs and secrets, which can be passed from the caller workflow and then used within the called workflow. There are three stages to using an input or a secret in a reusable workflow.&lt;/p&gt;&lt;ol style=&quot;box-sizing:border-box; color:#1f2328; counter-reset:li 0; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; list-style:none; margin-bottom:16px; margin-top:0px; padding-bottom:0.5rem; padding-left:0px; position:relative&quot;&gt;&lt;li style=&quot;box-sizing: border-box; padding: 0.5rem 0px 0.5rem 2.5rem; border: 0px; position: relative; margin-bottom: 0.25rem;&quot;&gt;In the reusable workflow, use the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;inputs&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;secrets&lt;/code&gt;&amp;nbsp;keywords to define inputs or secrets that will be passed from a caller workflow.&lt;/li&gt;&lt;/ol&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;on:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;workflow_call:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;inputs:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;config-path:&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;required:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-constant)&quot; class=&quot;hljs-literal&quot;&gt;true&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;type:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;string&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;secrets:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;envPAT:&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;required:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-constant)&quot; class=&quot;hljs-literal&quot;&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;For details of the syntax for defining inputs and secrets, see&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_callinputs&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;on.workflow_call.inputs&lt;/code&gt;&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_callsecrets&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;on.workflow_call.secrets&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&lt;ol style=&quot;box-sizing:border-box; color:#1f2328; counter-reset:li 0; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; list-style:none; margin-bottom:16px; margin-top:0px; padding-bottom:0.5rem; padding-left:0px; position:relative&quot;&gt;&lt;li style=&quot;box-sizing: border-box; padding: 0.5rem 0px 0.5rem 2.5rem; border: 0px; position: relative; margin-bottom: 0.25rem;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin: 0px;&quot;&gt;In the reusable workflow, reference the input or secret that you defined in the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;on&lt;/code&gt;&amp;nbsp;key in the previous step.&lt;/p&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; border-color: var(--color-accent-emphasis) !important; border-top-style:  !important; border-top-width:  !important; border-right-style:  !important; border-right-width:  !important; border-bottom-style:  !important; border-bottom-width:  !important; border-left-style:  !important; border-left-width:  !important; border-image-source:  !important; border-image-slice:  !important; border-image-width:  !important; border-image-outset:  !important; border-image-repeat:  !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600)&quot;&gt;Note&lt;/span&gt;: If the secrets are inherited by using&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 11.9px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;secrets: inherit&lt;/code&gt;&amp;nbsp;in the calling workflow, you can reference them even if they are not explicitly defined in the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 11.9px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;on&lt;/code&gt;&amp;nbsp;key. For more information, see &quot;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idsecretsinherit&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%; margin-bottom: 0px;&quot;&gt;Workflow syntax for GitHub Actions&lt;/a&gt;.&quot;&lt;/p&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: rgb(31, 35, 40); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;reusable_workflow_job:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;runs-on:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;ubuntu-latest&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;environment:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;production&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;steps:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box&quot; class=&quot;hljs-bullet&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;actions/labeler@v4&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;with:&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;repo-token:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;secrets.envPAT&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;
        &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;configuration-path:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;inputs.config-path&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;In the example above,&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;envPAT&lt;/code&gt;&amp;nbsp;is an environment secret that&#039;s been added to the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;production&lt;/code&gt;&amp;nbsp;environment. This environment is therefore referenced within the job.&lt;/p&gt;&lt;div class=&quot;ghd-spotlight ghd-spotlight-note border rounded-1 mb-4 p-3 f5 color-border-accent-emphasis color-bg-accent&quot; style=&quot;box-sizing: border-box; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; border-color: var(--color-accent-emphasis) !important; border-radius: var(--borderRadius-small,4px) !important; background-color: var(--color-accent-subtle) !important; margin-bottom: var(--base-size-24,24px) !important; padding: var(--base-size-16,16px) !important; font-size: var(--h5-size,14px) !important;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; font-weight:var(--base-text-weight-semibold,600)&quot;&gt;Note&lt;/span&gt;: Environment secrets are encrypted strings that are stored in an environment that you&#039;ve defined for a repository. Environment secrets are only available to workflow jobs that reference the appropriate environment. For more information, see &quot;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-secrets&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%; margin-bottom: 0px;&quot;&gt;Using environments for deployment&lt;/a&gt;.&quot;&lt;/p&gt;&lt;/div&gt;&lt;ol style=&quot;box-sizing:border-box; color:#1f2328; counter-reset:li 0; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; list-style:none; margin-bottom:16px; margin-top:0px; padding-bottom:0.5rem; padding-left:0px; position:relative&quot;&gt;&lt;li style=&quot;box-sizing: border-box; padding: 0.5rem 0px 0.5rem 2.5rem; border: 0px; position: relative; margin-bottom: 0.25rem;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin: 0px;&quot;&gt;Pass the input or secret from the caller workflow.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin: 1rem 0px 0px;&quot;&gt;To pass named inputs to a called workflow, use the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;with&lt;/code&gt;&amp;nbsp;keyword in a job. Use the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;secrets&lt;/code&gt;&amp;nbsp;keyword to pass named secrets. For inputs, the data type of the input value must match the type specified in the called workflow (either boolean, number, or string).&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: var(--color-fg-default); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;call-workflow-passing-data:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;octo-org/example-repo/.github/workflows/reusable-workflow.yml@main&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;with:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;config-path:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;.github/labeler.yml&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;secrets:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;envPAT:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;${{&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;secrets.envPAT&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;}}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; margin: 1rem 0px 0px;&quot;&gt;Workflows that call reusable workflows in the same organization or enterprise can use the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;inherit&lt;/code&gt;&amp;nbsp;keyword to implicitly pass the secrets.&lt;/p&gt;&lt;pre style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; margin-top: 0.5rem; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: hidden auto; line-height: 1.45; color: var(--color-fg-default); background-color: var(--color-canvas-subtle); border-radius: 6px; border: 1px solid var(--color-border-default);&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot; style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; display: inline; padding: 0px; color: var(--color-fg-default); background: transparent; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; overflow: visible; line-height: inherit; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;jobs:&lt;/span&gt;
  &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;call-workflow-passing-data:&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;uses:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;octo-org/example-repo/.github/workflows/reusable-workflow.yml@main&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;with:&lt;/span&gt;
      &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;config-path:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;.github/labeler.yml&lt;/span&gt;
    &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-entity-tag)&quot; class=&quot;hljs-attr&quot;&gt;secrets:&lt;/span&gt; &lt;span style=&quot;box-sizing:border-box; color:var(--color-prettylights-syntax-string)&quot; class=&quot;hljs-string&quot;&gt;inherit&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75595/how-to-create-a-reusable-workflow-of-github-actions?show=75596#a75596</guid>
<pubDate>Tue, 01 Aug 2023 14:01:38 +0000</pubDate>
</item>
<item>
<title>Answered: what are self-hosted runners in github Actions?</title>
<link>https://madanswer.com/75593/what-are-self-hosted-runners-in-github-actions?show=75594#a75594</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;Called workflows that are owned by the same user or organization as the caller workflow can access self-hosted runners from the caller&#039;s context. This means that a called workflow can access self-hosted runners that are:&lt;/p&gt;&lt;ul style=&quot;box-sizing:border-box; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; margin-bottom:16px; margin-top:0px; padding-left:2em&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;In the caller repository&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;In the caller repository&#039;s organization, provided that the runner has been made available to the caller repository&lt;/li&gt;&lt;/ul&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75593/what-are-self-hosted-runners-in-github-actions?show=75594#a75594</guid>
<pubDate>Tue, 01 Aug 2023 14:00:07 +0000</pubDate>
</item>
<item>
<title>Answered: What are GitHub-hosted runners?</title>
<link>https://madanswer.com/75591/what-are-github-hosted-runners?show=75592#a75592</link>
<description>
&lt;p&gt;&lt;span style=&quot;color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;&quot;&gt;The assignment of GitHub-hosted runners is always evaluated using only the caller&#039;s context. Billing for GitHub-hosted runners is always associated with the caller. The caller workflow cannot use GitHub-hosted runners from the called repository.&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75591/what-are-github-hosted-runners?show=75592#a75592</guid>
<pubDate>Tue, 01 Aug 2023 13:58:56 +0000</pubDate>
</item>
<item>
<title>Answered: How can we access to reusable workflows in github?</title>
<link>https://madanswer.com/75589/how-can-we-access-to-reusable-workflows-in-github?show=75590#a75590</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;A reusable workflow can be used by another workflow if any of the following is true:&lt;/p&gt;&lt;ul style=&quot;box-sizing:border-box; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; margin-bottom:16px; margin-top:0px; padding-left:2em&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Both workflows are in the same repository.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;The called workflow is stored in a public repository, and your organization allows you to use public reusable workflows.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;The called workflow is stored in a private repository and the settings for that repository allow it to be accessed.&lt;/li&gt;&lt;/ul&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75589/how-can-we-access-to-reusable-workflows-in-github?show=75590#a75590</guid>
<pubDate>Tue, 01 Aug 2023 13:56:59 +0000</pubDate>
</item>
<item>
<title>Answered: what are the difference between Reusable workflows and starter workflows in github?</title>
<link>https://madanswer.com/75587/what-are-the-difference-between-reusable-workflows-and-starter-workflows-in-github?show=75588#a75588</link>
<description>
&lt;p&gt;&lt;span style=&quot;color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;&quot;&gt;Starter workflows allow everyone in your organization who has permission to create workflows to do so more quickly and easily. When people create a new workflow, they can choose a starter workflow and some or all of the work of writing the workflow will be done for them. Within a starter workflow, you can also reference reusable workflows to make it easy for people to benefit from reusing centrally managed workflow code. If you use a commit SHA when referencing the reusable workflow, you can ensure that everyone who reuses that workflow will always be using the same YAML code. However, if you reference a reusable workflow by a tag or branch, be sure that you can trust that version of the workflow.&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75587/what-are-the-difference-between-reusable-workflows-and-starter-workflows-in-github?show=75588#a75588</guid>
<pubDate>Tue, 01 Aug 2023 13:56:04 +0000</pubDate>
</item>
<item>
<title>Answered: How to avoid duplication when creating a workflow by reusing existing workflows in Github?</title>
<link>https://madanswer.com/75585/how-to-avoid-duplication-when-creating-workflow-reusing-existing-workflows-github?show=75586#a75586</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;Rather than copying and pasting from one workflow to another, you can make workflows reusable. You and anyone with access to the reusable workflow can then call the reusable workflow from another workflow.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;Reusing workflows avoids duplication. This makes workflows easier to maintain and allows you to create new workflows more quickly by building on the work of others, just as you do with actions. Workflow reuse also promotes best practice by helping you to use workflows that are well designed, have already been tested, and have been proven to be effective. Your organization can build up a library of reusable workflows that can be centrally maintained.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;The diagram below shows an in-progress workflow run that uses a reusable workflow.&lt;/p&gt;&lt;ul style=&quot;box-sizing:border-box; color:#1f2328; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; margin-bottom:16px; margin-top:0px; padding-left:2em&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;After each of three build jobs on the left of the diagram completes successfully, a dependent job called &quot;Deploy&quot; is run.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;The &quot;Deploy&quot; job calls a reusable workflow that contains three jobs: &quot;Staging&quot;, &quot;Review&quot;, and &quot;Production.&quot;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;The &quot;Production&quot; deployment job only runs after the &quot;Staging&quot; job has completed successfully.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;When a job targets an environment, the workflow run displays a progress bar that shows the number of steps in the job. In the diagram below, the &quot;Production&quot; job contains 8 steps, with step 6 currently being processed.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em;&quot;&gt;Using a reusable workflow to run deployment jobs allows you to run those jobs for each build without duplicating code in workflows.&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;/p&gt;&lt;img src=&quot;https://docs.github.com/assets/cb-34427/images/help/actions/reusable-workflows-ci-cd.png&quot; alt=&quot;Diagram of a workflow calling a reusable workflow.&quot; style=&quot;background-color:var(--color-canvas-default); border-style:none; box-sizing:content-box; max-height:32rem; max-width:100%; padding:0px&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;A workflow that uses another workflow is referred to as a &quot;caller&quot; workflow. The reusable workflow is a &quot;called&quot; workflow. One caller workflow can use multiple called workflows. Each called workflow is referenced in a single line. The result is that the caller workflow file may contain just a few lines of YAML, but may perform a large number of tasks when it&#039;s run. When you reuse a workflow, the entire called workflow is used, just as if it was part of the caller workflow.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;If you reuse a workflow from a different repository, any actions in the called workflow run as if they were part of the caller workflow. For example, if the called workflow uses&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;actions/checkout&lt;/code&gt;, the action checks out the contents of the repository that hosts the caller workflow, not the called workflow.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;When a reusable workflow is triggered by a caller workflow, the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;github&lt;/code&gt;&amp;nbsp;context is always associated with the caller workflow. The called workflow is automatically granted access to&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;github.token&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; padding: 0.2em 0.4em; margin: 0px; white-space-collapse: break-spaces; background-color: var(--color-neutral-muted); border-radius: 6px;&quot;&gt;secrets.GITHUB_TOKEN&lt;/code&gt;.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;You can view the reused workflows referenced in your GitHub Actions workflows as dependencies in the dependency graph of the repository containing your workflows.&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75585/how-to-avoid-duplication-when-creating-workflow-reusing-existing-workflows-github?show=75586#a75586</guid>
<pubDate>Tue, 01 Aug 2023 13:54:49 +0000</pubDate>
</item>
<item>
<title>Answered: Is it possible to share actions across different repositories within an organization? If yes, then how?</title>
<link>https://madanswer.com/75583/possible-share-actions-across-different-repositories-within-organization-yes-then?show=75584#a75584</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;You can share actions and reusable workflows within your organization, without publishing them publicly, by allowing GitHub Actions workflows to access a private repository that contains the action or reusable workflow.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;Any actions or reusable workflows stored in the private repository can be used in workflows defined in other private repositories owned by the same organization. Actions and reusable workflows stored in internal repositories cannot be used in public repositories and actions and reusable workflows stored in private repositories cannot be used in public or internal repositories.&lt;/p&gt;&lt;h2 id=&quot;sharing-actions-and-workflows-with-your-organization&quot; tabindex=&quot;-1&quot; style=&quot;box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-weight: var(--base-text-weight-semibold,600); line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid var(--color-border-muted); padding-top: 1rem; color: rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;;&quot;&gt;&lt;a class=&quot;heading-link&quot; rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/actions/creating-actions/sharing-actions-and-workflows-with-your-organization#sharing-actions-and-workflows-with-your-organization&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: unset; text-decoration-line: none;&quot;&gt;Sharing actions and workflows with your organization&lt;/a&gt;&lt;/h2&gt;&lt;ol style=&quot;box-sizing:border-box; color:#1f2328; counter-reset:li 0; font-family:-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,&amp;quot;Noto Sans&amp;quot;,Helvetica,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;; list-style:none; margin-bottom:16px; margin-top:0px; padding-bottom:0.5rem; padding-left:0px; position:relative&quot;&gt;&lt;li style=&quot;box-sizing: border-box; padding: 0.5rem 0px 0.5rem 2.5rem; border: 0px; position: relative; margin-bottom: 0.25rem;&quot;&gt;Store the action or reusable workflow in a private repository. For more information, see &quot;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;About repositories&lt;/a&gt;.&quot;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-top: 0.25em; padding: 0.5rem 0px 0.5rem 2.5rem; border: 0px; position: relative; margin-bottom: 0.25rem;&quot;&gt;Configure the repository to allow access to workflows in other private repositories. For more information, see &quot;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository&quot; style=&quot;box-sizing: border-box; background-color: transparent; color: var(--color-accent-fg); text-underline-offset: 25%;&quot;&gt;Managing GitHub Actions settings for a repository&lt;/a&gt;.&quot;&lt;/li&gt;&lt;/ol&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75583/possible-share-actions-across-different-repositories-within-organization-yes-then?show=75584#a75584</guid>
<pubDate>Tue, 01 Aug 2023 13:52:57 +0000</pubDate>
</item>
<item>
<title>Answered: In which languages write actions for GitHub?</title>
<link>https://madanswer.com/75581/in-which-languages-write-actions-for-github?show=75582#a75582</link>
<description>
&lt;p&gt;We can&amp;nbsp;&lt;span style=&quot;color:#4a5568; font-family:&amp;quot;Avenir Regular&amp;quot;,sans-serif; font-size:18px&quot;&gt;write actions for GitHub in any language that can run on Linux, including but not limited to Bash, JavaScript, and Python.&lt;/span&gt;&lt;/p&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75581/in-which-languages-write-actions-for-github?show=75582#a75582</guid>
<pubDate>Tue, 01 Aug 2023 13:51:18 +0000</pubDate>
</item>
<item>
<title>Answered: What’s a good way to get started with writing my first action in GitHub?</title>
<link>https://madanswer.com/75579/whats-a-good-way-to-get-started-with-writing-my-first-action-in-github?show=75580#a75580</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 1.25rem; color: rgb(74, 85, 104); font-family: &amp;quot;Avenir Regular&amp;quot;, sans-serif; font-size: 18px;&quot;&gt;A good way to get started with writing your first action in GitHub is to start by looking at the existing actions that are available and see if any of them can be adapted to your needs. Once you have a good understanding of how actions work, you can start writing your own custom action by following the instructions in the GitHub Actions documentation.&lt;/p&gt;&lt;div&gt;&lt;/div&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75579/whats-a-good-way-to-get-started-with-writing-my-first-action-in-github?show=75580#a75580</guid>
<pubDate>Tue, 01 Aug 2023 13:40:44 +0000</pubDate>
</item>
<item>
<title>Answered: Can you give me some examples of common workflows that can be automated by using GitHub Actions?</title>
<link>https://madanswer.com/75577/can-you-give-some-examples-common-workflows-that-can-automated-using-github-actions?show=75578#a75578</link>
<description>
&lt;p style=&quot;box-sizing: border-box; margin: 0px 0px 1.25rem; color: rgb(74, 85, 104); font-family: &amp;quot;Avenir Regular&amp;quot;, sans-serif; font-size: 18px;&quot;&gt;There are a lot of different workflows that can be automated by using GitHub Actions. For example, you could set up a workflow to automatically build and deploy your code whenever you push a new commit to your GitHub repository. Or, you could set up a workflow to run a series of tests on your code every time you open a new pull request. There are endless possibilities for what you can do with GitHub Actions, so it really depends on what you need to automate in your particular workflow.&lt;/p&gt;&lt;div&gt;&lt;/div&gt;
</description>
<category>GitHub</category>
<guid isPermaLink="true">https://madanswer.com/75577/can-you-give-some-examples-common-workflows-that-can-automated-using-github-actions?show=75578#a75578</guid>
<pubDate>Tue, 01 Aug 2023 13:40:01 +0000</pubDate>
</item>
</channel>
</rss>