Skip to content

Commit d4a0f7d

Browse files
author
Kathy Simpson
committed
update & add code exmaples for actions
This commit adds new code examples and updates a few of the older ones.
1 parent 7e792f0 commit d4a0f7d

1 file changed

Lines changed: 171 additions & 5 deletions

File tree

data/variables/action_code_examples.yml

Lines changed: 171 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
href: actions/starter-workflows
55
tags:
66
- official
7-
- workflows
7+
- workflow
88
- title: Example services
99
description: Example workflows using service containers
1010
languages: JavaScript
@@ -54,7 +54,7 @@
5454
- releases
5555
- publishing
5656
- title: GitHub Project Automation+
57-
description: Automate GitHub Project cards with any webhook event.
57+
description: Automate GitHub Project cards with any webhook event
5858
languages: JavaScript
5959
href: alex-page/github-project-automation-plus
6060
tags:
@@ -113,9 +113,8 @@
113113
- wiki
114114
- publishing
115115
- title: Label your Pull Requests auto-magically (using committed files)
116-
description: >-
117-
Github action to label your pull requests auto-magically (using committed
118-
files)
116+
description: Github action to label your pull requests auto-magically (using committed
117+
files)
119118
languages: 'TypeScript, Dockerfile, JavaScript'
120119
href: Decathlon/pull-request-labeler-action
121120
tags:
@@ -129,3 +128,170 @@
129128
tags:
130129
- pull request
131130
- labels
131+
- title: Get a list of file changes with a PR/Push
132+
description: This action gives you will get outputs of the files that have changed in your repository
133+
languages: 'TypeScript, Shell, JavaScript'
134+
href: trilom/file-changes-action
135+
tags:
136+
- workflow
137+
- repository
138+
- title: Private actions in any workflow
139+
description: Allows private GitHub Actions to be easily reused
140+
languages: 'TypeScript, JavaScript, Shell'
141+
href: InVisionApp/private-action-loader
142+
tags:
143+
- workflow
144+
- tools
145+
- title: Label your issues using the issue's contents
146+
description: A GitHub Action to automatically tag issues with labels and assignees
147+
languages: 'JavaScript, TypeScript'
148+
href: damccorm/tag-ur-it
149+
tags:
150+
- workflow
151+
- tools
152+
- labels
153+
- issues
154+
- title: Rollback a GitHub Release
155+
description: A GitHub Action to rollback or delete a release
156+
languages: 'JavaScript'
157+
href: author/action-rollback
158+
tags:
159+
- workflow
160+
- releases
161+
- title: Lock closed issues and Pull Requests
162+
description: GitHub Action that locks closed issues and pull requests after a period of inactivity
163+
languages: 'JavaScript'
164+
href: dessant/lock-threads
165+
tags:
166+
- issues
167+
- pull requests
168+
- workflow
169+
- title: Get Commit Difference Count Between Two Branches
170+
description: This GitHub Action compares two branches and gives you the commit count between them
171+
languages: 'JavaScript, Shell'
172+
href: jessicalostinspace/commit-difference-action
173+
tags:
174+
- commit
175+
- diff
176+
- workflow
177+
- title: Generate Release Notes Based on Git References
178+
description: GitHub Action to generate changelogs, and release notes
179+
languages: 'JavaScript, Shell'
180+
href: metcalfc/changelog-generator
181+
tags:
182+
- cicd
183+
- release-notes
184+
- workflow
185+
- changelog
186+
- title: Enforce Policies on GitHub Repositories and Commits
187+
description: Policy enforcement for your pipelines
188+
languages: 'Go, Makefile, Dockerfile, Shell'
189+
href: talos-systems/conform
190+
tags:
191+
- docker
192+
- build-automation
193+
- workflow
194+
- title: Auto Label Issue Based
195+
description: Automatically label an issue based on the issue description
196+
languages: 'TypeScript, JavaScript, Dockerfile'
197+
href: Renato66/auto-label
198+
tags:
199+
- labels
200+
- workflow
201+
- automation
202+
- title: Update Configured GitHub Actions to the Latest Versions
203+
description: CLI tool to check whehter all your actions are up-to-date or not
204+
languages: 'C#, Inno Setup, PowerSHell, Shell'
205+
href: fabasoad/ghacu
206+
tags:
207+
- versions
208+
- cli
209+
- workflow
210+
- title: Create Issue Branch
211+
description: GitHub Action that automates the creation of issue branches
212+
languages: 'JavaScript, Shell'
213+
href: robvanderleek/create-issue-branch
214+
tags:
215+
- probot
216+
- issues
217+
- labels
218+
- title: Remove old artifacts
219+
description: Customize artifact cleanup
220+
languages: 'JavaScript, Shell'
221+
href: c-hive/gha-remove-artifacts
222+
tags:
223+
- artifacts
224+
- workflow
225+
- title: Sync Defined Files/Binaries to Wiki or External Repositories
226+
description: GitHub Action to automatically sync changes to external repositories, like the wiki, for example
227+
languages: 'Shell, Dockerfile'
228+
href: kai-tub/external-repo-sync-action
229+
tags:
230+
- wiki
231+
- sync
232+
- workflow
233+
- title: Create/Update/Delete a GitHub Wiki page based on any file
234+
description: Updates your GitHub wiki by using rsync, allowing for exclusion of files and directories and actual deletion of files
235+
languages: 'Shell, Dockerfile'
236+
href: Andrew-Chen-Wang/github-wiki-action
237+
tags:
238+
- wiki
239+
- docker
240+
- workflow
241+
- title: Prow GitHub Actions
242+
description: Automation of policy enforcement, chat-ops, and automatic PR merging
243+
languages: 'TypeScript, JavaScript'
244+
href: jpmcb/prow-github-actions
245+
tags:
246+
- chat-ops
247+
- prow
248+
- workflow
249+
- title: Check GitHub Status in your Workflow
250+
description: Check GitHub Status in your workflow
251+
languages: 'TypeScript, JavaScript'
252+
href: crazy-max/ghaction-github-status
253+
tags:
254+
- status
255+
- monitoring
256+
- workflow
257+
- title: Manage labels on GitHub as code
258+
description: GitHub Action to manage labels (create/rename/update/delete)
259+
languages: 'TypeScript, JavaScript'
260+
href: crazy-max/ghaction-github-labeler
261+
tags:
262+
- labels
263+
- workflow
264+
- automation
265+
- title: Distribute funding in free and open source projects
266+
description: Continuous Distribution of funding to project contributors and dependencies
267+
languages: 'Python, Docerfile, Shell, Ruby'
268+
href: protontypes/libreselery
269+
tags:
270+
- sponsors
271+
- funding
272+
- payment
273+
- title: Herald rules for GitHub
274+
description: Add reviewers, subscribers, labels and assignees to your PR
275+
languages: 'TypeScript, JavaScript'
276+
href: gagoar/use-herald-action
277+
tags:
278+
- reviewers
279+
- labels
280+
- assignees
281+
- pull request
282+
- title: Codeowner validator
283+
description: Ensures the correctness of your GitHub CODEOWNERS file, supports public and private GitHub repositories and also GitHub Enterprise installations
284+
languages: 'Go, Shell, Makefile, Docerfile'
285+
href: mszostok/codeowners-validator
286+
tags:
287+
- codeowners
288+
- validate
289+
- workflow
290+
- title: Copybara Action
291+
description: Move and transform code between repositories (ideal to maintain several repos from one monorepo)
292+
languages: 'TypeScript, JavaScript, Shell'
293+
href: olivr/copybara-action
294+
tags:
295+
- monorepo
296+
- copybara
297+
- workflow

0 commit comments

Comments
 (0)