Merge pull request #218 from ShieldedDotDev/dependabot/go_modules/gol… #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Shield | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set current date as env variable | |
run: echo "builddate=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_OUTPUT | |
id: date | |
- name: Update Shielded.dev Badge | |
uses: shieldeddotdev/shielded-action@v1 | |
with: | |
shielded-token: ${{ secrets.SHIELDED_TOKEN }} | |
text: ${{ steps.date.outputs.builddate }} |