Skip to content

Commit

Permalink
Merge pull request #144 from hydephp/harden-workflows
Browse files Browse the repository at this point in the history
Harden GitHub Action workflows
  • Loading branch information
caendesilva authored Apr 20, 2024
2 parents e4da947 + 13bf1c7 commit d0528cc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

- name: Import GPG key
if: github.event.repository.full_name == 'hydephp/cli'
uses: crazy-max/ghaction-import-gpg@v6
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4
with:
gpg_private_key: ${{ secrets.GPG_SIGNING_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_SIGNING_KEY_PASSPHRASE }}
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
run: git restore composer.json composer.lock

- name: Create pull request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83
with:
commit-message: "HydeCLI v${{ steps.build-version.outputs.version }}"
title: "HydeCLI v${{ steps.build-version.outputs.version }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
echo "Version: v${{ env.VERSION }}"
- name: Create a release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5
with:
name: v${{ env.VERSION }}
tag: v${{ env.VERSION }}
Expand Down

0 comments on commit d0528cc

Please sign in to comment.