Cookie Consent by Free Privacy Policy Generator ๐Ÿ“Œ Dependabot and GitHub Actions

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š Dependabot and GitHub Actions


๐Ÿ’ก Newskategorie: Programmierung
๐Ÿ”— Quelle: dev.to

If you're using GitHub Workflows to automate bits of your development process (test runs, deployment, stuff like that) then you're almost certainly using GitHub Actions as well. Actions are pre-build chunks of functionality that you can use in your workflows and which save you having to write a load of code yourself. I've never, for example, written a workflow definition that doesn't use actions/checkout to checkout the current repo on the container that is running that workflow. Part of my workflow definition will always look like this:

steps:
  - name: Check out code
    uses: actions/checkout@v3

Or, at least, it will look a lot like that. The bit that might change is that v3 on the end there. That is, of course, the version of the action that I'm using. And that will change when the author of the action releases a new version. Well, strictly speaking, it will change when I notice that there's a new version and bother to update the workflow definition.

Recently, I noticed that two of the actions I use frequently (including the checkout action which I use everywhere) had updated their version numbers and I hadn't known about the change. It took a few hours of work to update the version numbers in all of my workflow definitions.

And life isn't supposed to be that much work.

But there's a solution. And I discovered it thanks to a discussion on Reddit.

If you're doing much work on GitHub (particularly in the Javascript/Node) area, then you'll have met Dependabot. It's a bot that scans GitHub repos for dependencies that are out of date and then (and here's the really clever bit!) it generates pull requests that update the repo to use the updated versions.

To be honest, I don't have many projects on GitHub that use the technologies that Dependabot targets by default. The few I have are web sites that use frameworks I've cloned from elsewhere - so I get the occasional PR that updates packages.json and I just apply them and forget about it.

But it seems that Dependabot can do far more than that. You just need to configure it properly in your repo. And one of the things it can do is to scan for out of date actions being used in your workflow definitions. You just need a file called dependabot.yml in your .github directory and the contents should look like this:

# Set update schedule for GitHub Actions

version: 2
updates:

  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      # Check for updates to GitHub Actions every week
      interval: "weekly"

Dependabot will then check your actions versions once a week and create PRs for any that are out of date. I know it works, because I added this to all of my repos this morning and it promptly created half a dozen PRs for repos where I had updated the versions but hadn't pushed the changes to GitHub. When I pushed the existing changes, Dependabot checked its PR against the new code, realised the PR was no longer needed and closed the PR. Which was nice :-)

It you're using GitHub Workflows (and I can't really think of any reason why you wouldn't be) then I recommend adding this file to your repos. Of course, GitHub has documentation about this feature.

Dependabot clearly has more uses than I thought it did. I'm going to have to investigate it further. I wonder if it can check CPAN dependencies.

Do you have any Dependabot tricks that I would find useful?

...



๐Ÿ“Œ GitHub Dependabot Now Alerts Developers On Vulnerable GitHub Actions


๐Ÿ“ˆ 56.05 Punkte

๐Ÿ“Œ Dependabot and GitHub Actions


๐Ÿ“ˆ 50.44 Punkte

๐Ÿ“Œ GitHub Helps Developers Keep Dependencies Secure via Dependabot


๐Ÿ“ˆ 36.58 Punkte

๐Ÿ“Œ Actions Project - Actions Builder & Actions SDK


๐Ÿ“ˆ 36.26 Punkte

๐Ÿ“Œ Conversational Actions overview - Actions Builder & Actions SDK


๐Ÿ“ˆ 36.26 Punkte

๐Ÿ“Œ Deploying a Vite app on GitHub Pages using GitHub Actions with GitHub Secrets


๐Ÿ“ˆ 34.24 Punkte

๐Ÿ“Œ Gitea is working on a built-in CI/CD tool called Gitea Actions (compatible with GitHub Actions syntax)


๐Ÿ“ˆ 31.56 Punkte

๐Ÿ“Œ actions-hottest๐Ÿš€: GitHub Actions for Commenting on Golang Unit Test Results in Pull Requests


๐Ÿ“ˆ 31.56 Punkte

๐Ÿ“Œ Yet Another Newsletter LOL: Dependabot and Art


๐Ÿ“ˆ 30.97 Punkte

๐Ÿ“Œ Dependency (Supply Chain) Analysis & Remediation - Dependabot / Snyk / Fossa / Jfrog Xray / OWASP Dependency Check


๐Ÿ“ˆ 29.19 Punkte

๐Ÿ“Œ Dependabot up to 0.125.0 /$({curl injection


๐Ÿ“ˆ 29.19 Punkte

๐Ÿ“Œ Terraform - Keep dependencies up to date with Dependabot (Azure DevOps version)


๐Ÿ“ˆ 29.19 Punkte

๐Ÿ“Œ Sync GitHub repo and Hugging Face Space Repo with GitHub Actions


๐Ÿ“ˆ 28.63 Punkte

๐Ÿ“Œ Automating Workflows: Harnessing GitHub Actions, Docker, and GitHub npm Package


๐Ÿ“ˆ 28.63 Punkte

๐Ÿ“Œ Automate Docker Image Builds and Push to GitHub Registry Using GitHub Actions ๐Ÿ™


๐Ÿ“ˆ 28.63 Punkte

๐Ÿ“Œ How to Create a GitHub Profile Readme with GitHub Actions, Profile Trophy, and Custom Icons Badges


๐Ÿ“ˆ 28.63 Punkte

๐Ÿ“Œ Build an end-to-end MLOps pipeline using Amazon SageMaker Pipelines, GitHub, and GitHub Actions


๐Ÿ“ˆ 28.63 Punkte

๐Ÿ“Œ Github launch ci/cd in Github Actions


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ GitHub ermรถglicht eigene Runner fรผr GitHub Actions


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ GitHub Actions being actively abused to mine cryptocurrency on GitHub servers


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ GitHub Actions: GitHub kรผndigt hรคrteres Vorgehen gegen Cryptominer an


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ Pushing container images to GitHub Container Registry with GitHub Actions


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ How to Test a GitHub Action with GitHub Actions


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ Bonus Tip: How to Use GitHub Actions to Test a GitHub Action Whose Output Must be Visually Inspected


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ Use GitHub Actions to Make Your GitHub Profile Dynamic


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ GitHub Actions CI/CD for React app hosted in GitHub Pages


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ How I Bulk Closed 1000+ GitHub Issues with GitHub Actions ๐Ÿš€


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ Deploy Nextjs app to github-pages with Github Actions


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ Doppler: Github app(link) Takeover Listed on "https://docs.doppler.com/docs/github-actions" page


๐Ÿ“ˆ 26.86 Punkte

๐Ÿ“Œ Creating an Action for the Google Assistant with Actions Builder (Behind the Actions, Ep. 7)


๐Ÿ“ˆ 24.17 Punkte

๐Ÿ“Œ Overview - Actions Builder & Actions SDK


๐Ÿ“ˆ 24.17 Punkte

๐Ÿ“Œ Intents - Actions Builder & Actions SDK


๐Ÿ“ˆ 24.17 Punkte

๐Ÿ“Œ Scenes - Actions Builder & Actions SDK


๐Ÿ“ˆ 24.17 Punkte

๐Ÿ“Œ Creating an Action for the Google Assistant with Actions SDK (Behind the Actions, Ep. 8)


๐Ÿ“ˆ 24.17 Punkte

๐Ÿ“Œ Announcing Actions Builder & Actions SDK: New tools optimized for the Google Assistant


๐Ÿ“ˆ 24.17 Punkte











matomo