Skip to content

Commit

Permalink
Merge pull request #117 from devops-infra/dependency/github-cli
Browse files Browse the repository at this point in the history
Add missing `gh` installation
  • Loading branch information
ChristophShyper committed Feb 12, 2023
2 parents 3471fd9 + 9ff24b9 commit e66e2ba
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]
RUN chmod +x /entrypoint.sh ;\
apt-get update -y ;\
apt-get install --no-install-recommends -y \
curl \
gpg-agent \
software-properties-common ;\
add-apt-repository ppa:git-core/ppa ;\
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg ;\
chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg ;\
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null ;\
apt-get update -y ;\
apt-get install --no-install-recommends -y \
git \
gh \
hub \
jq ;\
apt-get clean ;\
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
phony: help

# Release tag for the action
VERSION := v0.5.4
VERSION := v0.5.5

# GitHub Actions bogus variables
GITHUB_REF ?= refs/heads/null
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Features:

```yaml
- name: Run the Action
uses: devops-infra/[email protected].4
uses: devops-infra/[email protected].5
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_branch: development
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- name: Create pull request
uses: devops-infra/[email protected].4
uses: devops-infra/[email protected].5
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
title: Automatic pull request
Expand All @@ -141,7 +141,7 @@ jobs:
fetch-depth: 0
- name: Run the Action
if: startsWith(github.ref, 'refs/heads/feature')
uses: devops-infra/[email protected].4
uses: devops-infra/[email protected].5
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
title: ${{ github.event.commits[0].message }}
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ outputs:
description: Pull request URL.
runs:
using: docker
image: docker://devopsinfra/action-pull-request:v0.5.4
image: docker://devopsinfra/action-pull-request:v0.5.5
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
branding:
Expand Down

0 comments on commit e66e2ba

Please sign in to comment.