Skip to content

Commit

Permalink
Update GH actions (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa authored Feb 15, 2024
1 parent 1279b17 commit 369bdc7
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/add-prs-and-issues-to-project.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
# This example file will enable actions that trigger on created or modified GitHub issues.
#
# Note the @main in `uses:` on the last line. This will call the latest version of the workflow from the `main` branch in the RMI-PACTA/actions repo.
# You can also specify a tag from that repo, or a commit SHA to pin action versions.
on:
issues:
types:
[opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned]
issue_comment:
types: [created, edited, deleted]

name: GH issues

permissions:
issues: write
pull-requests: write

jobs:
issues:
name: Run issues workflows
uses: RMI-PACTA/actions/.github/workflows/issues.yml@main
with:
ado_area_path: "2DegreesInvesting\\Repositories that jdhoffa maintains"
secrets:
ADO_TOKEN: ${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}
11 changes: 11 additions & 0 deletions .github/workflows/run-hadolint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
on: [push, pull_request]

jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hadolint/[email protected]
with:
dockerfile: Dockerfile

0 comments on commit 369bdc7

Please sign in to comment.