Files
obsidian-metadata/.github/workflows/devcontainer-checker.yml
dependabot[bot] ba5693cf61 ci(deps): bump actions/checkout from 3 to 4 (#60)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:28:42 -05:00

64 lines
1.9 KiB
YAML

---
name: "Dev Container Checker"
on:
workflow_dispatch:
push:
paths:
- ".devcontainer/**"
- ".github/workflows/devcontainer-checker.yml"
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
paths:
- ".devcontainer/**"
- ".github/workflows/devcontainer-checker.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
dev-container-checker:
runs-on: ubuntu-latest
steps:
- name: Harden Security Runner
uses: step-security/harden-runner@v2
with:
egress-policy: block
allowed-endpoints: >
*.data.mcr.microsoft.com:443
api.snapcraft.io:443
auth.docker.io:443
deb.debian.org:443
deb.debian.org:80
dl.yarnpkg.com:443
files.pythonhosted.org:443
ghcr.io:443
git.rootprojects.org:443
github.com:443
mcr.microsoft.com:443
nodejs.org:443
objects.githubusercontent.com:443
pkg-containers.githubusercontent.com:443
production.cloudflare.docker.com:443
pypi.org:443
registry-1.docker.io:443
registry.npmjs.org:443
webi.sh:443
- name: Checkout
uses: actions/checkout@v4
- name: Build and run dev container task
uses: devcontainers/ci@v0.3
with:
runCmd: |
poe lint
poe test