Skip to content

Commit

Permalink
chore(ci): update markdown workflow
Browse files Browse the repository at this point in the history
- bump checkout action to v3
- bump docker hub description action to v3
- only trigger docker hub description on pushes to qdm12/dns
- Limit permissions to read actions and contents
  • Loading branch information
qdm12 committed Jul 12, 2023
1 parent db2ed23 commit 7db6619
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ on:
jobs:
markdown:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker Hub Description
uses: peter-evans/[email protected]
- uses: actions/checkout@v3

- uses: peter-evans/dockerhub-description@v3
if: github.repository == 'qdm12/dns' && github.event_name == 'push'
with:
username: qmcgaw
password: ${{ secrets.DOCKERHUB_PASSWORD }}
Expand Down

0 comments on commit 7db6619

Please sign in to comment.