Skip to content

Commit e66e2ba

Browse files
Merge pull request #117 from devops-infra/dependency/github-cli
Add missing `gh` installation
2 parents 3471fd9 + 9ff24b9 commit e66e2ba

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,17 @@ SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]
5151
RUN chmod +x /entrypoint.sh ;\
5252
apt-get update -y ;\
5353
apt-get install --no-install-recommends -y \
54+
curl \
5455
gpg-agent \
5556
software-properties-common ;\
5657
add-apt-repository ppa:git-core/ppa ;\
58+
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg ;\
59+
chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg ;\
60+
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 ;\
5761
apt-get update -y ;\
5862
apt-get install --no-install-recommends -y \
5963
git \
64+
gh \
6065
hub \
6166
jq ;\
6267
apt-get clean ;\

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
phony: help
33

44
# Release tag for the action
5-
VERSION := v0.5.4
5+
VERSION := v0.5.5
66

77
# GitHub Actions bogus variables
88
GITHUB_REF ?= refs/heads/null

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Features:
3737

3838
```yaml
3939
- name: Run the Action
40-
uses: devops-infra/[email protected].4
40+
uses: devops-infra/[email protected].5
4141
with:
4242
github_token: ${{ secrets.GITHUB_TOKEN }}
4343
source_branch: development
@@ -119,7 +119,7 @@ jobs:
119119
- name: Checkout repository
120120
uses: actions/checkout@v2
121121
- name: Create pull request
122-
uses: devops-infra/[email protected].4
122+
uses: devops-infra/[email protected].5
123123
with:
124124
github_token: ${{ secrets.GITHUB_TOKEN }}
125125
title: Automatic pull request
@@ -141,7 +141,7 @@ jobs:
141141
fetch-depth: 0
142142
- name: Run the Action
143143
if: startsWith(github.ref, 'refs/heads/feature')
144-
uses: devops-infra/[email protected].4
144+
uses: devops-infra/[email protected].5
145145
with:
146146
github_token: ${{ secrets.GITHUB_TOKEN }}
147147
title: ${{ github.event.commits[0].message }}

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ outputs:
6969
description: Pull request URL.
7070
runs:
7171
using: docker
72-
image: docker://devopsinfra/action-pull-request:v0.5.4
72+
image: docker://devopsinfra/action-pull-request:v0.5.5
7373
env:
7474
GITHUB_TOKEN: ${{ inputs.github_token }}
7575
branding:

0 commit comments

Comments
 (0)