Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
Updates (#1791)
Browse files Browse the repository at this point in the history
* Add auth note

* Add actionlint for GitHub Actions
  • Loading branch information
biow0lf authored Jan 2, 2025
1 parent 93b4d68 commit 7ea61dd
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Action Lint

on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 21 * * 6"

permissions:
contents: read

jobs:
actionlint:
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: raven-actions/actionlint@01fce4f43a270a612932cb1c64d40505a029f821 # v2.0.0
id: actionlint
with:
pyflakes: false

- name: actionlint Summary
if: ${{ steps.actionlint.outputs.exit-code != 0 }}
run: |
echo "Used actionlint version ${{ steps.actionlint.outputs.version-semver }}"
echo "Used actionlint release ${{ steps.actionlint.outputs.version-tag }}"
echo "actionlint ended with ${{ steps.actionlint.outputs.exit-code }} exit code"
echo "actionlint ended because '${{ steps.actionlint.outputs.exit-message }}'"
echo "actionlint found ${{ steps.actionlint.outputs.total-errors }} errors"
echo "actionlint checked ${{ steps.actionlint.outputs.total-files }} files"
echo "actionlint cache used: ${{ steps.actionlint.outputs.cache-hit }}"
# shellcheck disable=SC2242
exit ${{ steps.actionlint.outputs.exit-code }}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Service container for running sidekiq web UI from [sidekiq](https://github.com/s

## Example `docker-compose.yml`

NOTE: Don't forget to close sidekiq web ui with web auth. E.g. [for devise](https://github.com/sidekiq/sidekiq/wiki/Devise).
Or with http auth in web server/proxy before.

```yaml
services:
sidekiq-web-ui:
Expand Down

0 comments on commit 7ea61dd

Please sign in to comment.